]> git.mxchange.org Git - friendica.git/commitdiff
Update DBClean.php
authormiqrogroove <miqrogroove@gmail.com>
Thu, 21 Jun 2018 11:51:30 +0000 (07:51 -0400)
committerGitHub <noreply@github.com>
Thu, 21 Jun 2018 11:51:30 +0000 (07:51 -0400)
src/Worker/DBClean.php

index 0fdcbfee6db4198f7b47faeade89247238c41c63..e1777f528f5e5c86c87d616aae7b5f5f45bf315b 100644 (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`