]> git.mxchange.org Git - friendica.git/blobdiff - doc/Addons.md
Merge pull request #12177 from MrPetovan/bug/warnings
[friendica.git] / doc / Addons.md
index bbc0ed61c19895537eb6ae95df75a7aa6dcd32b8..b43a8a915d247b5780eb05a718de8931b7733194 100644 (file)
@@ -281,7 +281,7 @@ $data = [
        'submit' => [
                'catavatar-usecat'   => DI::l10n()->t('Use Cat as Avatar'),
                'catavatar-morecat'  => DI::l10n()->t('Another random Cat!'),
-               'catavatar-emailcat' => DI::pConfig()->get(local_user(), 'catavatar', 'seed', false) ? DI::l10n()->t('Reset to email Cat') : null,
+               'catavatar-emailcat' => DI::pConfig()->get(Session::getLocalUser(), 'catavatar', 'seed', false) ? DI::l10n()->t('Reset to email Cat') : null,
        ],
 ];
 ```
@@ -919,6 +919,10 @@ Here is a complete list of all hook callbacks with file locations (as of 24-Sep-
     Hook::callAll('block', $hook_data);
     Hook::callAll('unblock', $hook_data);
 
+### src/Core/Logger/Factory.php
+
+    Hook::callAll('logger_instance', $data);
+
 ### src/Core/StorageManager
 
     Hook::callAll('storage_instance', $data);