mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-03 00:28:53 +00:00
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:
parent
3092624b9b
commit
547bf50866
1 changed files with 4 additions and 0 deletions
|
@ -647,6 +647,10 @@ $sql = "UPDATE " . CONFIG_TABLE . "
|
||||||
WHERE config_name = 'version'";
|
WHERE config_name = 'version'";
|
||||||
_sql($sql, $errored, $error_ary);
|
_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
|
/* Optimize/vacuum analyze the tables where appropriate
|
||||||
// this should be done for each version in future along with
|
// this should be done for each version in future along with
|
||||||
|
|
Loading…
Add table
Reference in a new issue