From: Aaron Schulz Date: Mon, 19 Oct 2015 19:57:34 +0000 (-0700) Subject: Fix bad call to Database::getCacheSetOptions() X-Git-Tag: 1.31.0-rc.0~9347 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=9f04548ea98aa36f65b3c397e9834c02dce5b0c2;p=lhc%2Fweb%2Fwiklou.git Fix bad call to Database::getCacheSetOptions() Change-Id: I8ac756851b4cc7d36129fbd4e01282a151dc2694 --- diff --git a/includes/SiteStats.php b/includes/SiteStats.php index b84d2bfa95..5b361b9be7 100644 --- a/includes/SiteStats.php +++ b/includes/SiteStats.php @@ -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',