aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade.php')
-rw-r--r--upgrade.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/upgrade.php b/upgrade.php
index 065db9983..4522fd839 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -37,8 +37,7 @@ include(PHPWG_ROOT_PATH . 'include/config_default.inc.php');
check_upgrade();
-// concerning upgrade, we use the default users table
-$conf['users_table'] = $prefixeTable.'users';
+prepare_conf_upgrade();
include_once(PHPWG_ROOT_PATH.'include/constants.php');
define('PREFIX_TABLE', $prefixeTable);
@@ -304,6 +303,13 @@ if you encounter any problem.'
UPDATE '.USER_CACHE_TABLE.'
SET need_update = \'true\'
;';
+
+ pwg_query($query);
+ $query = '
+REPLACE INTO '.PLUGINS_TABLE.'
+ (id, state)
+ VALUES (\'c13y_upgrade\', \'active\')
+;';
pwg_query($query);
}
else