mirror of
https://github.com/friendica/friendica
synced 2025-04-27 23:50:10 +00:00
Replace deprecated Addon::callHooks with Hook::callAll
- Update documentation
This commit is contained in:
parent
895b3abf32
commit
55e54bb950
58 changed files with 450 additions and 475 deletions
|
@ -6,8 +6,8 @@
|
|||
|
||||
namespace Friendica\Worker;
|
||||
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\DBA;
|
||||
|
@ -32,7 +32,7 @@ class Directory
|
|||
|
||||
$arr = ['url' => $url];
|
||||
|
||||
Addon::callHooks('globaldir_update', $arr);
|
||||
Hook::callAll('globaldir_update', $arr);
|
||||
|
||||
Logger::log('Updating directory: ' . $arr['url'], Logger::DEBUG);
|
||||
if (strlen($arr['url'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue