aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-20 21:43:21 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-20 21:43:21 +0000
commite2ee7b52deb8bbe99a8f0bc9b74bd684ac9aa37b (patch)
tree9085f78727b876f81b7a2b4edffcca2eb04b8bb5 /engine/lib
parentbf222132b5e63a0dbc5f077f6bd6b879c0edb5c1 (diff)
downloadelgg-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')
-rw-r--r--engine/lib/upgrades/2011032000-1.8_svn-widgets_arent_plugins-61836261fa280a5c.php10
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');