]> git.mxchange.org Git - friendica.git/blobdiff - mod/subthread.php
Replace deprecated Addon::callHooks with Hook::callAll
[friendica.git] / mod / subthread.php
index 3d7167303346db291ac90894645cf069313b402a..23ebf4fe4858f40a7f46f2bde0a6251852edb09d 100644 (file)
@@ -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();