Remove unused wfGetDB() in SiteStats::jobs
[lhc/web/wiklou.git] / includes / SiteStats.php
index acd5262..4908419 100644 (file)
@@ -202,7 +202,6 @@ class SiteStats {
         */
        static function jobs() {
                if ( !isset( self::$jobs ) ) {
-                       $dbr = wfGetDB( DB_SLAVE );
                        self::$jobs = array_sum( JobQueueGroup::singleton()->getQueueSizes() );
                        /**
                         * Zero rows still do single row read for row that doesn't exist,