X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotify.php;h=87035817841d637b957037051ca087b34a9551ba;hb=a0fddca407f3594758bd09209aaf9e2075794137;hp=959b581d59a25942b19cb824ec4b11cd1e479a8a;hpb=8821d33f73785884cfce83e7b23d3ef19cc1bc11;p=friendica.git diff --git a/mod/notify.php b/mod/notify.php index 959b581d59..8703581784 100644 --- a/mod/notify.php +++ b/mod/notify.php @@ -48,7 +48,7 @@ function notify_init(App $a) $r = $nm->setAllSeen(); $j = json_encode(['result' => ($r) ? 'success' : 'fail']); echo $j; - killme(); + exit(); } } @@ -58,6 +58,8 @@ function notify_content(App $a) return Login::form(); } + $notif_content = ''; + $nm = new NotificationsManager(); $notif_tpl = Renderer::getMarkupTemplate('notifications.tpl');