Remove owner.deleted check in user deletion check in Model/Item

This commit is contained in:
Hypolite Petovan 2020-12-15 14:24:42 -05:00 committed by GitHub
parent 0951a50bcd
commit 6d3864a16b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1392,7 +1392,7 @@ class Item
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']]);
return false;
}