aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-05-19 15:44:23 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-05-19 15:44:23 +0000
commitaa4ad4b62e7db7a069420bb342f04ef7b81b1efd (patch)
treefb26c99a7321452f5c5bb780cda8db67a9b61eec /phpBB/includes/functions_admin.php
parent4dd4302ff8740701b24596aac028dffbf11c1d09 (diff)
downloadforums-aa4ad4b62e7db7a069420bb342f04ef7b81b1efd.tar
forums-aa4ad4b62e7db7a069420bb342f04ef7b81b1efd.tar.gz
forums-aa4ad4b62e7db7a069420bb342f04ef7b81b1efd.tar.bz2
forums-aa4ad4b62e7db7a069420bb342f04ef7b81b1efd.tar.xz
forums-aa4ad4b62e7db7a069420bb342f04ef7b81b1efd.zip
Allow pre-setting language dependant data in schema_data.sql... specified with {L_*}, also create the search index on installation
git-svn-id: file:///svn/phpbb/trunk@7644 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 0156e43e9c..c93bdf84ab 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -2099,36 +2099,6 @@ function remove_comments(&$output)
}
/**
-* remove_remarks will strip the sql comment lines out of an uploaded sql file
-*/
-function remove_remarks(&$sql)
-{
- $sql = preg_replace('/\n{2,}/', "\n", preg_replace('/^#.*$/m', "\n", $sql));
-}
-
-/**
-* split_sql_file will split an uploaded sql file into single sql statements.
-* Note: expects trim() to have already been run on $sql.
-*/
-function split_sql_file($sql, $delimiter)
-{
- $sql = str_replace("\r" , '', $sql);
- $data = preg_split('/' . preg_quote($delimiter, '/') . '$/m', $sql);
-
- $data = array_map('trim', $data);
-
- // The empty case
- $end_data = end($data);
-
- if (empty($end_data))
- {
- unset($data[key($data)]);
- }
-
- return $data;
-}
-
-/**
* Cache moderators, called whenever permissions are changed via admin_permissions. Changes of username
* and group names must be carried through for the moderators table
*/