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 @@
2323
2323
* @return Database replication lag in seconds
2324
2324
*/
2325
2325
function getLag() {
2326
- return $this->mFakeSlaveLag;
2326
+ return intval( $this->mFakeSlaveLag );
2327
2327
}
2328
2328
2329
2329
/**
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r68878
Refactored Database*::getLag(): moved the default implementation to MySQL, re...
maxsem
13:17, 2 July 2010
Status & tagging log
11:33, 28 September 2010
😂
(
talk
|
contribs
)
changed the
status
of r73876
[
removed:
new
added:
ok]