diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-20 21:43:21 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-20 21:43:21 +0000 |
commit | e2ee7b52deb8bbe99a8f0bc9b74bd684ac9aa37b (patch) | |
tree | 9085f78727b876f81b7a2b4edffcca2eb04b8bb5 /engine/lib/upgrades | |
parent | bf222132b5e63a0dbc5f077f6bd6b879c0edb5c1 (diff) | |
download | elgg-e2ee7b52deb8bbe99a8f0bc9b74bd684ac9aa37b.tar.gz elgg-e2ee7b52deb8bbe99a8f0bc9b74bd684ac9aa37b.tar.bz2 |
Fixes #3161. Added upgrade to update object, widget to ElggWidget.
git-svn-id: http://code.elgg.org/elgg/trunk@8789 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/upgrades')
-rw-r--r-- | engine/lib/upgrades/2011032000-1.8_svn-widgets_arent_plugins-61836261fa280a5c.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2011032000-1.8_svn-widgets_arent_plugins-61836261fa280a5c.php b/engine/lib/upgrades/2011032000-1.8_svn-widgets_arent_plugins-61836261fa280a5c.php new file mode 100644 index 000000000..a20970d79 --- /dev/null +++ b/engine/lib/upgrades/2011032000-1.8_svn-widgets_arent_plugins-61836261fa280a5c.php @@ -0,0 +1,10 @@ +<?php +/** + * Elgg 1.8-svn upgrade 2011031800 + * widgets_arent_plugins + * + * At some point in Elgg's history subtype widget was registered with class ElggPlugin. + * Fix that. + */ + +update_subtype('object', 'widget', 'ElggWidget'); |