From 6d3864a16b3d841144c49c1963e7e79610078785 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 15 Dec 2020 14:24:42 -0500 Subject: [PATCH] Remove owner.deleted check in user deletion check in Model/Item --- src/Model/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index cd5c2b169..75c3d0838 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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; }