aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_convert.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-04 11:33:33 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-04 11:33:33 +0000
commit92f554e38aaf3c4d280c201d3a6521e519acfb47 (patch)
tree8a72a5f6ea7e5b42efeefe551b055e3605699750 /phpBB/install/install_convert.php
parent303239afa44caa02709cf2f301e4fe39704f3383 (diff)
downloadforums-92f554e3.tar
forums-92f554e3.tar.gz
forums-92f554e3.tar.bz2
forums-92f554e3.tar.xz
forums-92f554e3.zip
deregister globals to install too
git-svn-id: file:///svn/phpbb/trunk@8130 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_convert.php')
-rw-r--r--phpBB/install/install_convert.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php
index 3311ade5ad..99fbed0a5b 100644
--- a/phpBB/install/install_convert.php
+++ b/phpBB/install/install_convert.php
@@ -1,10 +1,10 @@
<?php
-/**
+/**
*
* @package install
* @version $Id$
-* @copyright (c) 2006 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @copyright (c) 2006 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
@@ -612,7 +612,7 @@ class install_convert extends module
$config['max_quote_depth'] = 0;
// @todo Need to confirm that max post length in source is <= max post length in destination or there may be interesting formatting issues
- $config['max_post_chars'] = -1;
+ $config['max_post_chars'] = -1;
// Set up a user as well. We _should_ have enough of a database here at this point to do this
// and it helps for any core code we call
@@ -1198,7 +1198,7 @@ class install_convert extends module
$schema['order_by'] = $schema['primary'];
}
$sql .= (!empty($schema['order_by'])) ? "\nORDER BY " . $schema['order_by'] : '';
-
+
// Counting basically holds the amount of rows processed.
$counting = -1;
$batch_time = 0;
@@ -1561,7 +1561,7 @@ class install_convert extends module
{
global $db, $phpbb_root_path, $convert, $config, $user, $template;
- $db->sql_query('DELETE FROM ' . CONFIG_TABLE . "
+ $db->sql_query('DELETE FROM ' . CONFIG_TABLE . "
WHERE config_name = 'convert_progress'
OR config_name = 'convert_options'
OR config_name = 'convert_db_server'