expire issue

This commit is contained in:
friendica 2012-08-04 23:29:52 -07:00
parent bc5b54d7b7
commit 9732f1fccf

View file

@ -3699,7 +3699,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