aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-03-27 16:17:54 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-03-27 16:17:54 +0000
commitb2521b83b1a5c35c4c5df9c90515eb3d90cdab4d (patch)
tree857d9a04c03c495acd426689090ef39637e4f18d /phpBB/install/database_update.php
parent976e83351a2c7e784e4968722dee40f59e6932b1 (diff)
downloadforums-b2521b83b1a5c35c4c5df9c90515eb3d90cdab4d.tar
forums-b2521b83b1a5c35c4c5df9c90515eb3d90cdab4d.tar.gz
forums-b2521b83b1a5c35c4c5df9c90515eb3d90cdab4d.tar.bz2
forums-b2521b83b1a5c35c4c5df9c90515eb3d90cdab4d.tar.xz
forums-b2521b83b1a5c35c4c5df9c90515eb3d90cdab4d.zip
some corrections to let the update work flawlessly.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8475 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index d87b0fa459..8a38122130 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -1625,7 +1625,8 @@ _sql($sql, $errored, $error_ary);
// Reset permissions
$sql = 'UPDATE ' . USERS_TABLE . "
- SET user_permissions = ''";
+ SET user_permissions = '',
+ user_perm_from = 0";
_sql($sql, $errored, $error_ary);
/* Optimize/vacuum analyze the tables where appropriate
@@ -1659,6 +1660,8 @@ _write_result($no_updates, $errored, $error_ary);
if (!$inline_update)
{
+ // Purge the cache...
+ $cache->purge();
?>
<p style="color:red"><?php echo $lang['UPDATE_FILES_NOTICE']; ?></p>