]> git.mxchange.org Git - friendica.git/blobdiff - mod/manage.php
Fix missing $ in front of variable names
[friendica.git] / mod / manage.php
index 4d0b65de1533e480dab6d1764910f5b440d9ac86..52ddfdf032193aec538927f4115537572f0ce62b 100644 (file)
@@ -4,10 +4,9 @@
  */
 use Friendica\App;
 use Friendica\Core\Authentication;
-use Friendica\Core\Addon;
+use Friendica\Core\Hook;
 use Friendica\Core\L10n;
 use Friendica\Core\Renderer;
-use Friendica\Core\System;
 use Friendica\Database\DBA;
 
 function manage_post(App $a) {
@@ -116,7 +115,7 @@ function manage_post(App $a) {
        }
 
        $ret = [];
-       Addon::callHooks('home_init',$ret);
+       Hook::callAll('home_init',$ret);
 
        $a->internalRedirect('profile/' . $a->user['nickname'] );
        // NOTREACHED