reset permissions within the update process (also on re-runs of the updater due to it being outside of the version code).

git-svn-id: file:///svn/phpbb/trunk@7802 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-06-27 15:46:22 +00:00
parent 3092624b9b
commit 547bf50866

View file

@ -647,6 +647,10 @@ $sql = "UPDATE " . CONFIG_TABLE . "
WHERE config_name = 'version'";
_sql($sql, $errored, $error_ary);
// Reset permissions
$sql = 'UPDATE ' . USERS_TABLE . "
SET user_permissions = ''";
_sql($sql, $errored, $error_ary);
/* Optimize/vacuum analyze the tables where appropriate
// this should be done for each version in future along with