From 254dee274c0e2753edb171fcb71c71c8ed47222e Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Tue, 1 Sep 2009 15:07:26 +0000 Subject: [PATCH] erm, wrong position git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10084 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/database_update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 48dd55ac72..8ebe261d9e 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -694,6 +694,8 @@ function _add_modules($modules_to_install) $_module->move_module_by($module_row, 'move_up', $steps); } } + + $_module->remove_cache_file(); } /**************************************************************************** @@ -1304,8 +1306,6 @@ function change_database_data(&$no_updates, $version) _add_modules($modules_to_install); - $_module->remove_cache_file(); - // Add newly_registered group... but check if it already exists (we always supported running the updater on any schema) $sql = 'SELECT group_id FROM ' . GROUPS_TABLE . "