phpBB

Code Changes

File: includes/functions_admin.php

  Unmodified   Added   Modified   Removed
Line 3041Line 3041
		$forum_ids[] = $row['forum_id'];
}
$db->sql_freeresult($result);

		$forum_ids[] = $row['forum_id'];
}
$db->sql_freeresult($result);

 

$db->sql_transaction('begin');


// Delete those rows from the acl tables not having listed the forums above
$sql = 'DELETE FROM ' . ACL_GROUPS_TABLE . '


// Delete those rows from the acl tables not having listed the forums above
$sql = 'DELETE FROM ' . ACL_GROUPS_TABLE . '

Line 3050Line 3052
	$sql = 'DELETE FROM ' . ACL_USERS_TABLE . '
WHERE ' . $db->sql_in_set('forum_id', $forum_ids, true);
$db->sql_query($sql);

	$sql = 'DELETE FROM ' . ACL_USERS_TABLE . '
WHERE ' . $db->sql_in_set('forum_id', $forum_ids, true);
$db->sql_query($sql);

 

$db->sql_transaction('commit');


$config->set('database_last_gc', time(), false);
}


$config->set('database_last_gc', time(), false);
}