]> git.mxchange.org Git - friendica.git/blobdiff - mod/manage.php
Use HTTP-Signature to authenticate when fetching photos.
[friendica.git] / mod / manage.php
index b42b990aad404796b82b0f1480037273feb7539d..52ddfdf032193aec538927f4115537572f0ce62b 100644 (file)
@@ -4,14 +4,11 @@
  */
 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;
 
-require_once "include/text.php";
-
 function manage_post(App $a) {
 
        if (! local_user()) {
@@ -118,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