]> git.mxchange.org Git - friendica.git/blobdiff - doc/Addons.md
Merge pull request #12177 from MrPetovan/bug/warnings
[friendica.git] / doc / Addons.md
index 3dca7031321f8020a6b6354b0dd469204ed8891c..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,
        ],
 ];
 ```
@@ -766,10 +766,6 @@ Here is a complete list of all hook callbacks with file locations (as of 24-Sep-
     Hook::callAll('home_init', $ret);
     Hook::callAll("home_content", $content);
 
-### mod/poke.php
-
-    Hook::callAll('post_local_end', $arr);
-
 ### mod/contacts.php
 
     Hook::callAll('contact_edit_post', $_POST);
@@ -923,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);
@@ -967,10 +967,6 @@ Here is a complete list of all hook callbacks with file locations (as of 24-Sep-
 
     self::callSingle(self::getApp(), 'hook_fork', $fork_hook, $hookdata);
 
-### src/Core/L10n/L10n.php
-
-    Hook::callAll('poke_verbs', $arr);
-
 ### src/Core/Worker.php
 
     Hook::callAll("proc_run", $arr);