redirect to a useful location after deleting or ignoring a friend request, begin comment moderation logic

This commit is contained in:
friendica
2012-01-24 18:59:55 -08:00
parent dae0c1ded2
commit e2d0eb4a88
3 changed files with 31 additions and 4 deletions

View File

@@ -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');
}
}
}