r73876 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73875‎ | r73876 | r73877 >
Date:08:32, 28 September 2010
Author:maxsem
Status:ok
Tags:
Comment:
Follow-up r68878: ensure that returned value is int
Modified paths:
  • /trunk/phase3/includes/db/Database.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/Database.php
@@ -2322,7 +2322,7 @@
23232323 * @return Database replication lag in seconds
23242324 */
23252325 function getLag() {
2326 - return $this->mFakeSlaveLag;
 2326+ return intval( $this->mFakeSlaveLag );
23272327 }
23282328
23292329 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68878Refactored Database*::getLag(): moved the default implementation to MySQL, re...maxsem13:17, 2 July 2010

Status & tagging log