From: Tim Starling Date: Sun, 16 Apr 2006 06:36:57 +0000 (+0000) Subject: attempting to fix lag detection again X-Git-Tag: 1.31.0-rc.0~57478 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=766cc8e63363ce68eb6b6fa0401cabe0501f19f5;p=lhc%2Fweb%2Fwiklou.git attempting to fix lag detection again --- diff --git a/includes/Database.php b/includes/Database.php index c6eecbdd5a..65be7389fd 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -1641,8 +1641,8 @@ class Database { if ( $row->User == 'system user' ) { if ( ++$slaveThreads == 2 ) { # This is it, return the time (except -ve) - if ( $row->Time > 1<<31 ) { - return 0; + if ( $row->Time > 0x7ffffff ) { + return false; } else { return $row->Time; }