mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-22 08:13:14 +02:00
[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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user