]> git.mxchange.org Git - friendica.git/commitdiff
Remove global $db variable
authorHypolite Petovan <mrpetovan@gmail.com>
Tue, 10 Jul 2018 02:40:10 +0000 (22:40 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Mon, 16 Jul 2018 23:38:17 +0000 (19:38 -0400)
src/Worker/DBClean.php

index deb23e8dd8c901e7a9f0b83298b894776026623b..7a0b1f8473fa6120b89562c62386eae82ca4f37c 100644 (file)
@@ -60,8 +60,6 @@ class DBClean {
         * 10:  Old conversations.
         */
        private static function removeOrphans($stage) {
-               global $db;
-
                $count = 0;
 
                // We split the deletion in many small tasks