]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3161. Added upgrade to update object, widget to ElggWidget.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 20 Mar 2011 21:43:21 +0000 (21:43 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 20 Mar 2011 21:43:21 +0000 (21:43 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8789 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/upgrades/2011032000-1.8_svn-widgets_arent_plugins-61836261fa280a5c.php [new file with mode: 0644]
version.php

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 (file)
index 0000000..a20970d
--- /dev/null
@@ -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');
index d639949e2b3c49c48ad4545db777bb25683b0d24..55a8cc691af69a695be8b8b8d9b71ea8a4346054 100644 (file)
@@ -11,7 +11,7 @@
 
 // YYYYMMDD = Elgg Date
 // XX = Interim incrementer
-$version = 2011031600;
+$version = 2011032000;
 
 // Human-friendly version name
 $release = '1.8-svn';