From: Happy-melon Date: Fri, 18 Mar 2011 23:29:17 +0000 (+0000) Subject: Missed one instance of Block::infinity() from r84279. X-Git-Tag: 1.31.0-rc.0~31328 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=476fd7589a68e3b663ae1c982db7e1cd5eafa8b8;p=lhc%2Fweb%2Fwiklou.git Missed one instance of Block::infinity() from r84279. --- diff --git a/includes/api/ApiQueryLogEvents.php b/includes/api/ApiQueryLogEvents.php index 54f5ee93fc..0863b76f7e 100644 --- a/includes/api/ApiQueryLogEvents.php +++ b/includes/api/ApiQueryLogEvents.php @@ -239,7 +239,7 @@ class ApiQueryLogEvents extends ApiQueryBase { list( $vals2['duration'], $vals2['flags'] ) = $params; // Indefinite blocks have no expiry time - if ( SpecialBlock::parseExpiryInput( $params[0] ) !== Block::infinity() ) { + if ( SpecialBlock::parseExpiryInput( $params[0] ) !== wfGetDB( DB_SLAVE )->getInfinity() ) { $vals2['expiry'] = wfTimestamp( TS_ISO_8601, strtotime( $params[0], wfTimestamp( TS_UNIX, $ts ) ) ); }