aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notifications.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-01 21:02:25 -0700
committerFriendika <info@friendika.com>2011-08-01 21:02:25 -0700
commit2637831d9056862f7c3db718702116ef4652629a (patch)
tree2ee4076e6aeec3f79c64152abcce0ec284ef295f /mod/notifications.php
parent8b31ff15f51c6936daedf28cc88c753214b569e0 (diff)
downloadvolse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.tar.gz
volse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.tar.bz2
volse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.zip
some more zot changes migrating back to f9a mainline
Diffstat (limited to 'mod/notifications.php')
-rw-r--r--mod/notifications.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index c6f073058..244563adc 100644
--- a/mod/notifications.php
+++ b/mod/notifications.php
@@ -3,7 +3,7 @@
function notifications_post(&$a) {
if(! local_user()) {
- goaway($a->get_baseurl());
+ goaway(z_root());
}
$request_id = (($a->argc > 1) ? $a->argv[1] : 0);
@@ -60,7 +60,7 @@ function notifications_content(&$a) {
if(! local_user()) {
notice( t('Permission denied.') . EOL);
- goaway($a->get_baseurl());
+ return;
}
$o = '';