aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/upgrades/2012122701-fix_entity_class.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire/upgrades/2012122701-fix_entity_class.php')
-rw-r--r--mod/thewire/upgrades/2012122701-fix_entity_class.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/thewire/upgrades/2012122701-fix_entity_class.php b/mod/thewire/upgrades/2012122701-fix_entity_class.php
new file mode 100644
index 000000000..a1f382712
--- /dev/null
+++ b/mod/thewire/upgrades/2012122701-fix_entity_class.php
@@ -0,0 +1,8 @@
+<?php
+/**
+ * Register thewire objects with the ElggWire class.
+ */
+
+if (get_subtype_id('object', 'thewire')) {
+ update_subtype('object', 'thewire', 'ElggWire');
+} \ No newline at end of file