From 45dbd31d286838254cd1ae60e4ebb39c112526be Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 25 Jan 2017 12:21:52 -0800 Subject: only allow wiki owner to delete pages --- include/items.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index 5986038bc..66ec2ffea 100755 --- a/include/items.php +++ b/include/items.php @@ -3311,7 +3311,7 @@ function retain_item($id) { ); } -function drop_items($items) { +function drop_items($items,$interactive = false,$stage = DROPITEM_NORMAL,$force = false) { $uid = 0; if(! local_channel() && ! remote_channel()) @@ -3319,7 +3319,7 @@ function drop_items($items) { if(count($items)) { foreach($items as $item) { - $owner = drop_item($item,false); + $owner = drop_item($item,$interactive,$stage,$force); if($owner && ! $uid) $uid = $owner; } -- cgit v1.2.3