]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/L10n.php
Replace deprecated Addon::callHooks with Hook::callAll
[friendica.git] / src / Core / L10n.php
index aa36c2e4f9865768eacc571be7640be1b560e780..73042c7c26ab35b7f61a6294c6ed9d7192b4ea2f 100644 (file)
@@ -6,9 +6,6 @@ namespace Friendica\Core;
 
 use Friendica\BaseObject;
 use Friendica\Database\DBA;
-use Friendica\Core\Addon;
-use Friendica\Core\Logger;
-use Friendica\Core\System;
 
 /**
  * Provide Language, Translation, and Localization functions to the application
@@ -402,7 +399,7 @@ class L10n extends BaseObject
                        'rebuff' => ['rebuffed', self::t('rebuff'), self::t('rebuffed')],
                ];
 
-               Addon::callHooks('poke_verbs', $arr);
+               Hook::callAll('poke_verbs', $arr);
 
                return $arr;
        }