1
1
Fork 0

Update DBClean.php

This commit is contained in:
miqrogroove 2018-06-21 07:51:30 -04:00 committed by GitHub
parent ab056f9ee5
commit cfe035f300
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = Config::get('system', 'dbclean_expire_conversation', 7);
logger("Deleting old conversations. Last created: ".$last_id);
$r = dba::p("SELECT `received`, `item-uri` FROM `conversation`