From: Chad Horohoe Date: Wed, 4 Jun 2008 13:24:12 +0000 (+0000) Subject: And a missing > helps too. X-Git-Tag: 1.31.0-rc.0~47173 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=07303079232cbe36bee515d37124848ea6063703;p=lhc%2Fweb%2Fwiklou.git And a missing > helps too. --- diff --git a/includes/User.php b/includes/User.php index ff4d152ee0..4aff7ab680 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2459,10 +2459,10 @@ class User { // Stolen without shame from RC $cutoff_unixtime = time() - ( $wgActiveUserDays * 86400 ); $cutoff_unixtime = $cutoff_unixtime - ( $cutoff_unixtime % 86400 ); - $oldTime = $dbr->timestamp ( $cutoff_unixtime ); + $oldTime = $dbr->timestamp( $cutoff_unixtime ); $res = $dbr->select( 'revision', '1', - array( 'rev_user_text' => $this->getName(), "rev_timestamp $oldTime "), + array( 'rev_user_text' => $this->getName(), "rev_timestamp > $oldTime"), __METHOD__, array('LIMIT' => $wgActiveUserEditcount ) );