r9748 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r9747‎ | r9748 | r9749 >
Date:17:00, 28 June 2005
Author:avar
Status:old
Tags:
Comment:
* Removed $wgBlockExpiryOptions, obsoleted by msg:ipboptions
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/includes/SpecialBlockip.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialBlockip.php
@@ -47,7 +47,7 @@
4848 }
4949
5050 function showForm( $err ) {
51 - global $wgOut, $wgUser, $wgLang, $wgBlockExpiryOptions;
 51+ global $wgOut, $wgUser, $wgLang;
5252 global $wgRequest, $wgSysopUserBans;
5353
5454 $wgOut->setPagetitle( htmlspecialchars( wfMsg( 'blockip' ) ) );
Index: trunk/phase3/includes/DefaultSettings.php
@@ -668,11 +668,6 @@
669669 $wgSysopUserBans = true; # Allow sysops to ban logged-in users
670670 $wgSysopRangeBans = true; # Allow sysops to ban IP ranges
671671
672 -/** Comma-separated list of options to show on the IP block form.
673 - * Use strtotime() format, or "infinite" for an infinite block
674 - */
675 -$wgBlockExpiryOptions = "2 hours,1 day,3 days,1 week,2 weeks,1 month,3 months,6 months,1 year,infinite";
676 -
677672 $wgAutoblockExpiry = 86400; # Number of seconds before autoblock entries expire
678673
679674 /**

Status & tagging log