aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convertors
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-04-29 17:51:21 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-04-29 17:51:21 +0200
commit89391dec089e8085f486b768ad7654f62166f4a2 (patch)
tree32132483f24f6aaf760794b3a4d3b5723351fadf /phpBB/install/convertors
parent40351fae96de34312ca960abc5048c835f50e3ef (diff)
downloadforums-89391dec089e8085f486b768ad7654f62166f4a2.tar
forums-89391dec089e8085f486b768ad7654f62166f4a2.tar.gz
forums-89391dec089e8085f486b768ad7654f62166f4a2.tar.bz2
forums-89391dec089e8085f486b768ad7654f62166f4a2.tar.xz
forums-89391dec089e8085f486b768ad7654f62166f4a2.zip
[ticket/12458] Apply Squiz.WhiteSpace.SuperfluousWhitespace.* to legacy code.
* There MUST NOT be trailing whitespace at the end of lines. * There MUST NOT be whitespace before the first content of a file. * There MUST NOT be whitespace after the last content of a file. * Functions MUST NOT contain multiple empty lines in a row. PHPBB3-12458
Diffstat (limited to 'phpBB/install/convertors')
-rw-r--r--phpBB/install/convertors/functions_phpbb20.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php
index 29e5f7ab09..f3b8c82131 100644
--- a/phpBB/install/convertors/functions_phpbb20.php
+++ b/phpBB/install/convertors/functions_phpbb20.php
@@ -71,7 +71,6 @@ function phpbb_insert_forums()
$prune_enabled = (int) $src_db->sql_fetchfield('config_value');
$src_db->sql_freeresult($result);
-
// Insert categories
$sql = 'SELECT cat_id, cat_title
FROM ' . $convert->src_table_prefix . 'categories
@@ -571,7 +570,6 @@ function phpbb_convert_authentication($mode)
// What we will do is handling all 2.0.x admins as founder to replicate what is common in 2.0.x.
// After conversion the main admin need to make sure he is removing permissions and the founder status if wanted.
-
// Grab user ids of users with user_level of ADMIN
$sql = "SELECT user_id
FROM {$convert->src_table_prefix}users