aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convertors/functions_phpbb20.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-02-03 11:59:16 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-02-03 11:59:16 +0000
commit8061b5b61408208c1fbe9da5d11f0abde2644ce8 (patch)
tree7bbec2cbee5f36619f5c577d4ad47cc14d0804ea /phpBB/install/convertors/functions_phpbb20.php
parent9bf3bd0cbce2176663b5fd53af22c83286241f3e (diff)
downloadforums-8061b5b61408208c1fbe9da5d11f0abde2644ce8.tar
forums-8061b5b61408208c1fbe9da5d11f0abde2644ce8.tar.gz
forums-8061b5b61408208c1fbe9da5d11f0abde2644ce8.tar.bz2
forums-8061b5b61408208c1fbe9da5d11f0abde2644ce8.tar.xz
forums-8061b5b61408208c1fbe9da5d11f0abde2644ce8.zip
#7618
git-svn-id: file:///svn/phpbb/trunk@6962 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/convertors/functions_phpbb20.php')
-rw-r--r--phpBB/install/convertors/functions_phpbb20.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php
index 05daae473b..271c1cf1e3 100644
--- a/phpBB/install/convertors/functions_phpbb20.php
+++ b/phpBB/install/convertors/functions_phpbb20.php
@@ -1446,4 +1446,14 @@ function phpbb_inactive_reason()
return INACTIVE_REGISTER;
}
+/**
+* Adjust 2.0.x disallowed names to 3.0.x format
+*/
+function phpbb_disallowed_username($username)
+{
+ // Replace * with %
+ $username = phpbb_set_default_encoding(str_replace('*', '%', $username));
+ return utf8_htmlspecialchars($username);
+}
+
?> \ No newline at end of file