Remove owner.deleted check in user deletion check in Model/Item
This commit is contained in:
parent
0951a50bcd
commit
6d3864a16b
1 changed files with 1 additions and 1 deletions
|
@ -1392,7 +1392,7 @@ class Item
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($owner['deleted'] || $owner['account_expired'] || $owner['account_removed']) {
|
if ($owner['account_expired'] || $owner['account_removed']) {
|
||||||
Logger::notice('Item user has been deleted/expired/removed', ['uid' => $item['uid'], 'deleted' => $owner['deleted'], 'account_expired' => $owner['account_expired'], 'account_removed' => $owner['account_removed']]);
|
Logger::notice('Item user has been deleted/expired/removed', ['uid' => $item['uid'], 'deleted' => $owner['deleted'], 'account_expired' => $owner['account_expired'], 'account_removed' => $owner['account_removed']]);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue