From 07303079232cbe36bee515d37124848ea6063703 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 4 Jun 2008 13:24:12 +0000 Subject: [PATCH] And a missing > helps too. --- includes/User.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) ); -- 2.20.1