Update DBClean.php

2022.09-rc
miqrogroove 2018-06-21 07:52:56 -04:00 zatwierdzone przez GitHub
rodzic cfe035f300
commit f2463e327a
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

@ -323,7 +323,7 @@ class DBClean {
Config::set('system', 'dbclean-last-id-9', $last_id);
} elseif ($stage == 10) {
$last_id = Config::get('system', 'dbclean-last-id-10', 0);
$days = Config::get('system', 'dbclean_expire_conversation', 7);
$days = intval(Config::get('system', 'dbclean_expire_conversation', 7));
logger("Deleting old conversations. Last created: ".$last_id);
$r = dba::p("SELECT `received`, `item-uri` FROM `conversation`