From e2d0eb4a88d3ebd92e87a3e1969f78972396dd6f Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 24 Jan 2012 18:59:55 -0800 Subject: redirect to a useful location after deleting or ignoring a friend request, begin comment moderation logic --- include/items.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/items.php b/include/items.php index 21ee994dc..62f1f2ce5 100755 --- a/include/items.php +++ b/include/items.php @@ -2755,6 +2755,9 @@ function item_expire($uid,$days) { function drop_items($items) { $uid = 0; + if((! local_user()) && (! $remote_user())) + return; + if(count($items)) { foreach($items as $item) { $owner = drop_item($item,false); -- cgit v1.2.3