From d9022f63880ce039446fba8364f68e656b7bf4cb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 3 May 2012 13:01:35 +0200 Subject: Update to MediaWiki 1.19.0 --- includes/db/LoadMonitor.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'includes/db/LoadMonitor.php') diff --git a/includes/db/LoadMonitor.php b/includes/db/LoadMonitor.php index a6370c9e..16a0343f 100644 --- a/includes/db/LoadMonitor.php +++ b/includes/db/LoadMonitor.php @@ -66,12 +66,16 @@ class LoadMonitor_Null implements LoadMonitor { function postConnectionBackoff( $conn, $threshold ) { } + /** + * @param $serverIndexes + * @param $wiki + * @return array + */ function getLagTimes( $serverIndexes, $wiki ) { return array_fill_keys( $serverIndexes, 0 ); } } - /** * Basic MySQL load monitor with no external dependencies * Uses memcached to cache the replication lag for a short time -- cgit v1.2.3-54-g00ecf