From: Hypolite Petovan Date: Tue, 10 Jul 2018 02:40:10 +0000 (-0400) Subject: Remove global $db variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0cbe3aa8e60c8b66a1140d3f6a3e9453341e4d1e;p=friendica.git Remove global $db variable --- diff --git a/src/Worker/DBClean.php b/src/Worker/DBClean.php index deb23e8dd8..7a0b1f8473 100644 --- a/src/Worker/DBClean.php +++ b/src/Worker/DBClean.php @@ -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