mirror of
https://github.com/friendica/friendica
synced 2025-04-27 23:10:12 +00:00
Switch all item deletion logging to info level
This commit is contained in:
parent
b4597a643d
commit
f047944b2d
5 changed files with 13 additions and 13 deletions
|
@ -45,7 +45,7 @@ class Expire
|
|||
$condition = ["`deleted` AND `changed` < UTC_TIMESTAMP() - INTERVAL 60 DAY"];
|
||||
$rows = DBA::select('item', ['id', 'guid'], $condition);
|
||||
while ($row = DBA::fetch($rows)) {
|
||||
Logger::notice('Delete expired item', ['id' => $row['id'], 'guid' => $row['guid']]);
|
||||
Logger::info('Delete expired item', ['id' => $row['id'], 'guid' => $row['guid']]);
|
||||
DBA::delete('item', ['id' => $row['id']]);
|
||||
}
|
||||
DBA::close($rows);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue