diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 18:46:53 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 18:46:53 +0000 |
commit | a8917878ba7005780ccf37a72ed148739a65bf83 (patch) | |
tree | 0e927a5096ff1b98751d35651d72610c7f087ba5 /engine | |
parent | b2a0a73fff0bd2b223b8a4faa5b0c21b2c8d9f5a (diff) | |
download | elgg-a8917878ba7005780ccf37a72ed148739a65bf83.tar.gz elgg-a8917878ba7005780ccf37a72ed148739a65bf83.tar.bz2 |
Fixes #2926: Fixed upgrade for plugin user settings.
git-svn-id: http://code.elgg.org/elgg/trunk@8253 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/upgrades/2011010101.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/upgrades/2011010101.php b/engine/lib/upgrades/2011010101.php index bb1290854..be1adac1a 100644 --- a/engine/lib/upgrades/2011010101.php +++ b/engine/lib/upgrades/2011010101.php @@ -21,8 +21,8 @@ $r = update_data($q); // rewrite all plugin:setting:* to ELGG_PLUGIN_USER_SETTING_PREFIX . * $q = "UPDATE {$db_prefix}private_settings - SET name = replace(name, 'plugin:setting', '" . ELGG_PLUGIN_USER_SETTING_PREFIX . "') - WHERE name LIKE 'plugin:setting:%'"; + SET name = replace(name, 'plugin:settings:', '" . ELGG_PLUGIN_USER_SETTING_PREFIX . "') + WHERE name LIKE 'plugin:settings:%'"; $r = update_data($q); |