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

2022.09-rc
Hypolite Petovan 2020-12-15 14:24:42 -05:00 zatwierdzone przez GitHub
rodzic 0951a50bcd
commit 6d3864a16b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;
}