From: Chad Horohoe Date: Thu, 2 Jun 2011 00:11:38 +0000 (+0000) Subject: Self-revert r87545 X-Git-Tag: 1.31.0-rc.0~29786 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=88e98dea7f97b68338abb7ee7a74cafbe340a8ed;p=lhc%2Fweb%2Fwiklou.git Self-revert r87545 --- 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 ) {