mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:00:16 +00:00
Update DBClean.php
This commit is contained in:
parent
cfe035f300
commit
f2463e327a
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ class DBClean {
|
||||||
Config::set('system', 'dbclean-last-id-9', $last_id);
|
Config::set('system', 'dbclean-last-id-9', $last_id);
|
||||||
} elseif ($stage == 10) {
|
} elseif ($stage == 10) {
|
||||||
$last_id = Config::get('system', 'dbclean-last-id-10', 0);
|
$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);
|
logger("Deleting old conversations. Last created: ".$last_id);
|
||||||
$r = dba::p("SELECT `received`, `item-uri` FROM `conversation`
|
$r = dba::p("SELECT `received`, `item-uri` FROM `conversation`
|
||||||
|
|
Loading…
Reference in a new issue