]> git.mxchange.org Git - friendica.git/blobdiff - mod/notify.php
Move login() to Login module
[friendica.git] / mod / notify.php
index fae7ebb39b921cb7a29a4d603b749ca2ae5e8364..913f83f9beef777ef70277b7834ceec5ba78feea 100644 (file)
@@ -4,6 +4,7 @@ use Friendica\App;
 use Friendica\Core\NotificationsManager;
 use Friendica\Core\System;
 use Friendica\Database\DBM;
+use Friendica\Module\Login;
 
 function notify_init(App $a) {
        if (! local_user()) {
@@ -45,7 +46,7 @@ function notify_init(App $a) {
 
 function notify_content(App $a) {
        if (! local_user()) {
-               return login();
+               return Login::form();
        }
 
        $nm = new NotificationsManager();