expire issue
This commit is contained in:
parent
bc5b54d7b7
commit
9732f1fccf
|
@ -3699,7 +3699,7 @@ function drop_item($id,$interactive = true) {
|
||||||
|
|
||||||
// check if logged in user is either the author or owner of this item
|
// 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
|
// delete the item
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue