From cfe035f30000cbc580ebb3b699f92bab7c238687 Mon Sep 17 00:00:00 2001 From: miqrogroove Date: Thu, 21 Jun 2018 07:51:30 -0400 Subject: [PATCH] Update DBClean.php --- src/Worker/DBClean.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/DBClean.php b/src/Worker/DBClean.php index 0fdcbfee6d..e1777f528f 100644 --- a/src/Worker/DBClean.php +++ b/src/Worker/DBClean.php @@ -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` -- 2.39.5