Core Logger
implement log() function. more to squash Core Logger Class implement log() function
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\PConfig;
|
||||
|
||||
function gnot_install() {
|
||||
@@ -17,7 +18,7 @@ function gnot_install() {
|
||||
Addon::registerHook('addon_settings_post', 'addon/gnot/gnot.php', 'gnot_settings_post');
|
||||
Addon::registerHook('enotify_mail', 'addon/gnot/gnot.php', 'gnot_enotify_mail');
|
||||
|
||||
logger("installed gnot");
|
||||
Logger::log("installed gnot");
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +29,7 @@ function gnot_uninstall() {
|
||||
Addon::unregisterHook('enotify_mail', 'addon/gnot/gnot.php', 'gnot_enotify_mail');
|
||||
|
||||
|
||||
logger("removed gnot");
|
||||
Logger::log("removed gnot");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user