mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Core Logger
implement log() function. more to squash Core Logger Class implement log() function
This commit is contained in:
parent
b53157370a
commit
49eff56e5d
46 changed files with 348 additions and 302 deletions
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\PConfig;
|
||||
|
||||
function numfriends_install() {
|
||||
|
@ -14,7 +15,7 @@ function numfriends_install() {
|
|||
Addon::registerHook('addon_settings', 'addon/numfriends/numfriends.php', 'numfriends_settings');
|
||||
Addon::registerHook('addon_settings_post', 'addon/numfriends/numfriends.php', 'numfriends_settings_post');
|
||||
|
||||
logger("installed numfriends");
|
||||
Logger::log("installed numfriends");
|
||||
}
|
||||
|
||||
|
||||
|
@ -24,7 +25,7 @@ function numfriends_uninstall() {
|
|||
Addon::unregisterHook('addon_settings_post', 'addon/numfriends/numfriends.php', 'numfriends_settings_post');
|
||||
|
||||
|
||||
logger("removed numfriends");
|
||||
Logger::log("removed numfriends");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue