aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notifications.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-24 18:59:55 -0800
committerfriendica <info@friendica.com>2012-01-24 18:59:55 -0800
commite2d0eb4a88d3ebd92e87a3e1969f78972396dd6f (patch)
tree23bd81f2d92b663b9920bc8968ced3c788b21d0a /mod/notifications.php
parentdae0c1ded2bdba958ada3ba6f44b018cc959fbeb (diff)
downloadvolse-hubzilla-e2d0eb4a88d3ebd92e87a3e1969f78972396dd6f.tar.gz
volse-hubzilla-e2d0eb4a88d3ebd92e87a3e1969f78972396dd6f.tar.bz2
volse-hubzilla-e2d0eb4a88d3ebd92e87a3e1969f78972396dd6f.zip
redirect to a useful location after deleting or ignoring a friend request, begin comment moderation logic
Diffstat (limited to 'mod/notifications.php')
-rwxr-xr-xmod/notifications.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index 910b84e32..82d450a88 100755
--- a/mod/notifications.php
+++ b/mod/notifications.php
@@ -42,12 +42,12 @@ function notifications_post(&$a) {
intval(local_user())
);
}
- return;
+ goaway($a->get_baseurl() . '/notifications/intros');
}
if($_POST['submit'] == t('Ignore')) {
$r = q("UPDATE `intro` SET `ignore` = 1 WHERE `id` = %d LIMIT 1",
intval($intro_id));
- return;
+ goaway($a->get_baseurl() . '/notifications/intros');
}
}
}