From cdc44e26de99c2adb2026ff8f9c34edf29cc14b9 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 31 Jul 2019 16:05:28 +0000 Subject: [PATCH] Log level changed --- src/Model/Item.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index 377a840738..8d7d8b264a 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1873,7 +1873,7 @@ class Item extends BaseObject // In that function we check if this is a forum post. Additionally we delete the item under certain circumstances if (self::tagDeliver($item['uid'], $current_post)) { - Logger::info('Item had been deleted', ['id' => $current_post, 'user' => $uid, 'account-type' => $user['account-type']]); + Logger::notice('Item had been deleted', ['id' => $current_post, 'user' => $uid, 'account-type' => $user['account-type']]); return 0; } @@ -1891,9 +1891,6 @@ class Item extends BaseObject } } else { Logger::log('new item not found in DB, id ' . $current_post); - if ($user['account-type'] != User::ACCOUNT_TYPE_COMMUNITY) { - self::spool($orig_item); - } } }