1
0
Fork 0

Replace deprecated Addon::callHooks with Hook::callAll

- Update documentation
This commit is contained in:
Hypolite Petovan 2018-12-26 01:06:24 -05:00
commit 55e54bb950
58 changed files with 450 additions and 475 deletions

View 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;
}