aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-rwxr-xr-xinclude/items.php3
1 files changed, 3 insertions, 0 deletions
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);