1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-04 15:57:45 +02:00

[ticket/13454] Remove unused variables

This is part 2 of the pr.

PHPBB3-13454
This commit is contained in:
Marc Alexander
2015-12-03 18:19:02 +01:00
parent 73e6e5b77f
commit f50ba9ab4f
37 changed files with 37 additions and 88 deletions

View File

@@ -389,7 +389,7 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting)
foreach ($sql_subary as $sql)
{
$sql = "INSERT INTO $table ($id_field, forum_id, auth_option_id, auth_setting) VALUES ($sql)";
$result = $db->sql_query($sql);
$db->sql_query($sql);
$sql = '';
}
}
@@ -397,7 +397,7 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting)
if ($sql != '')
{
$sql = "INSERT INTO $table ($id_field, forum_id, auth_option_id, auth_setting) $sql";
$result = $db->sql_query($sql);
$db->sql_query($sql);
}
break;
@@ -405,7 +405,7 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting)
case 'delete':
foreach ($sql_subary as $sql)
{
$result = $db->sql_query($sql);
$db->sql_query($sql);
$sql = '';
}
break;