X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotifications.php;h=95467a584f68df4c600d010aae76847c535fd7b3;hb=c22920edba4f80fee2d828a9fe265a9cb702e81c;hp=396361e91b5bda012716767d3c2f677a8d2c6e29;hpb=8f253f6c1288534c50fac34f05afb1a2c07c9335;p=friendica.git diff --git a/mod/notifications.php b/mod/notifications.php index 396361e91b..95467a584f 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -6,6 +6,7 @@ */ use Friendica\App; +use Friendica\Core\System; require_once("include/NotificationsManager.php"); require_once("include/contact_selectors.php"); @@ -14,7 +15,7 @@ require_once("include/network.php"); function notifications_post(App $a) { if (! local_user()) { - goaway(z_root()); + goaway(System::baseUrl()); } $request_id = (($a->argc > 1) ? $a->argv[1] : 0);