From 88e98dea7f97b68338abb7ee7a74cafbe340a8ed Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 2 Jun 2011 00:11:38 +0000 Subject: [PATCH] Self-revert r87545 --- RELEASE-NOTES-1.19 | 1 - includes/specials/SpecialRecentchanges.php | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index ebf1a4849d..a4feaf811f 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -44,7 +44,6 @@ production. * (bug 29067) Creating "user.tokens" module (like user.options) in ResourceLoader. === Bug fixes in 1.19 === -* (bug 10154) Don't allow user to specify days beyond $wgRCMaxAge. * (bug 28868) Show total pages in the subtitle of an image on the file description page for multi-paged documents. * (bug 28883) Message names for different compression types commonly diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index 479a78ad34..8dfb66a0e8 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -71,7 +71,7 @@ class SpecialRecentChanges extends IncludableSpecialPage { * @return FormOptions */ public function setup( $parameters ) { - global $wgRequest, $wgRCMaxAge; + global $wgRequest; $opts = $this->getDefaultOptions(); @@ -82,7 +82,6 @@ class SpecialRecentChanges extends IncludableSpecialPage { } $opts->fetchValuesFromRequest( $wgRequest ); - $opts->validateIntBounds( 'days', 1, $wgRCMaxAge / ( 3600 * 24 ) ); // Give precedence to subpage syntax if( $parameters !== null ) { -- 2.20.1