r12488 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r12487‎ | r12488 | r12489 >
Date:23:14, 7 January 2006
Author:robchurch
Status:old
Tags:
Comment:
rm. redundant function
Modified paths:
  • /trunk/phase3/includes/SpecialPreferences.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPreferences.php
@@ -366,19 +366,6 @@
367367 /**
368368 * @access private
369369 */
370 - function badNickname() {
371 - $search = array( '/~~~/', '/~~~~/', '/~~~~~/', '/{{/', '/}}/' );
372 - foreach( $search as $item ) {
373 - if( preg_match( $item, $this->mNick ) > 0 ) {
374 - return( true ); # We found a reserved expression
375 - }
376 - }
377 - return( false );
378 - }
379 -
380 - /**
381 - * @access private
382 - */
383370 function namespacesCheckboxes() {
384371 global $wgContLang, $wgUser;
385372

Status & tagging log