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
|
|
@ -3,7 +3,7 @@
|
|||
* @file mod/subthread.php
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\System;
|
||||
|
|
@ -149,7 +149,7 @@ EOT;
|
|||
|
||||
$arr['id'] = $post_id;
|
||||
|
||||
Addon::callHooks('post_local_end', $arr);
|
||||
Hook::callAll('post_local_end', $arr);
|
||||
|
||||
exit();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue