diff options
author | Andreas Fischer <bantu@phpbb.com> | 2012-07-08 21:36:12 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2012-07-08 21:38:53 +0200 |
commit | cb245b1fafae2fc0159d03072810f987b844c513 (patch) | |
tree | 100c454784186caac62269c29e25e21584724dec /phpBB/includes/functions_admin.php | |
parent | 576cd6dd1e45171e998d6aa13ab74b73939ce084 (diff) | |
download | forums-cb245b1fafae2fc0159d03072810f987b844c513.tar forums-cb245b1fafae2fc0159d03072810f987b844c513.tar.gz forums-cb245b1fafae2fc0159d03072810f987b844c513.tar.bz2 forums-cb245b1fafae2fc0159d03072810f987b844c513.tar.xz forums-cb245b1fafae2fc0159d03072810f987b844c513.zip |
[ticket/10969] Remove remove_remarks(&$sql) and remove_comments(&$output).
Merge their bodies into phpbb_remove_comments($input).
PHPBB3-10969
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 3ebd6682a9..5d19cd7adb 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -2292,21 +2292,6 @@ function auto_prune($forum_id, $prune_mode, $prune_flags, $prune_days, $prune_fr } /** -* remove_comments will strip the sql comment lines out of an uploaded sql file -* specifically for mssql and postgres type files in the install.... -* -* @deprecated Use phpbb_remove_comments() instead. -*/ -function remove_comments(&$output) -{ - // Remove /* */ comments (http://ostermiller.org/findcomment.html) - $output = preg_replace('#/\*(.|[\r\n])*?\*/#', "\n", $output); - - // Return by reference and value. - return $output; -} - -/** * Cache moderators, called whenever permissions are changed via admin_permissions. Changes of username * and group names must be carried through for the moderators table */ |