This commit is contained in:
friendica
2012-08-05 21:41:58 -07:00
parent 4f64599210
commit c673c70c25
18 changed files with 56 additions and 21 deletions

View File

@@ -3589,7 +3589,7 @@ function drop_item($id,$interactive = true) {
// check if logged in user is either the author or owner of this item
if((local_user() == $item['uid']) || (remote_user() == $item['contact-id'])) {
if((local_user() == $item['uid']) || (remote_user() == $item['contact-id']) || (! $interactive)) {
// delete the item