1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

slight change for 3.0.5 for updating.

- only return auth options having 2 or more columns (does not change the outcome, the script works fine)
- purge the theme after a successful update the easy way to let style.php do the job

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9510 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2009-05-06 08:38:30 +00:00
parent 4bf4f8588e
commit 6c3532761b
2 changed files with 6 additions and 15 deletions

View File

@@ -943,7 +943,7 @@ function change_database_data(&$no_updates, $version)
$sql = 'SELECT auth_option
FROM ' . ACL_OPTIONS_TABLE . '
GROUP BY auth_option
HAVING COUNT(*) >= 1';
HAVING COUNT(*) >= 2';
$result = $db->sql_query($sql);
$auth_options = array();