mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02: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 group_text_install() {
|
||||
|
@ -14,7 +15,7 @@ function group_text_install() {
|
|||
Addon::registerHook('addon_settings', 'addon/group_text/group_text.php', 'group_text_settings');
|
||||
Addon::registerHook('addon_settings_post', 'addon/group_text/group_text.php', 'group_text_settings_post');
|
||||
|
||||
logger("installed group_text");
|
||||
Logger::log("installed group_text");
|
||||
}
|
||||
|
||||
|
||||
|
@ -24,7 +25,7 @@ function group_text_uninstall() {
|
|||
Addon::unregisterHook('addon_settings_post', 'addon/group_text/group_text.php', 'group_text_settings_post');
|
||||
|
||||
|
||||
logger("removed group_text");
|
||||
Logger::log("removed group_text");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue