From: Rob Church Date: Sat, 7 Jan 2006 23:14:04 +0000 (+0000) Subject: rm. redundant function X-Git-Tag: 1.6.0~710 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=5b96289e3d2310e84434d6735441c3ac19752c7c;p=lhc%2Fweb%2Fwiklou.git rm. redundant function --- diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index c55d1038a3..69705a5f8f 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -363,19 +363,6 @@ class PreferencesForm { } } - /** - * @access private - */ - function badNickname() { - $search = array( '/~~~/', '/~~~~/', '/~~~~~/', '/{{/', '/}}/' ); - foreach( $search as $item ) { - if( preg_match( $item, $this->mNick ) > 0 ) { - return( true ); # We found a reserved expression - } - } - return( false ); - } - /** * @access private */