Fix bad call to Database::getCacheSetOptions()
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 19 Oct 2015 19:57:34 +0000 (12:57 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 19 Oct 2015 19:57:34 +0000 (12:57 -0700)
Change-Id: I8ac756851b4cc7d36129fbd4e01282a151dc2694

includes/SiteStats.php

index b84d2bf..5b361b9 100644 (file)
@@ -186,7 +186,7 @@ class SiteStats {
                        function ( $oldValue, &$ttl, array &$setOpts ) use ( $group ) {
                                $dbr = wfGetDB( DB_SLAVE );
 
-                               $setOpts += $dbr->getCacheSetOptions();
+                               $setOpts += Database::getCacheSetOptions( $dbr );
 
                                return $dbr->selectField(
                                        'user_groups',