]> git.mxchange.org Git - friendica.git/blobdiff - mod/notify.php
Split goaway to System::externalRedirectTo() and App->internalRedirect()
[friendica.git] / mod / notify.php
index 4f9aa62fa11202a4096707e74477358ff5fa0589..6ec36d8f99f7fe387a77df94c049a9c908e52931 100644 (file)
@@ -37,10 +37,10 @@ function notify_init(App $a)
                                }
                        }
 
-                       $a->redirect($note['link']);
+                       System::externalRedirect($note['link']);
                }
 
-               $a->redirect();
+               $a->internalRedirect();
        }
 
        if ($a->argc > 2 && $a->argv[1] === 'mark' && $a->argv[2] === 'all') {