aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/activate.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire/activate.php')
-rw-r--r--mod/thewire/activate.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/mod/thewire/activate.php b/mod/thewire/activate.php
new file mode 100644
index 000000000..1cc64ceb1
--- /dev/null
+++ b/mod/thewire/activate.php
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Register the ElggWire class for the object/thewire subtype
+ */
+
+if (get_subtype_id('object', 'thewire')) {
+ update_subtype('object', 'thewire', 'ElggWire');
+} else {
+ add_subtype('object', 'thewire', 'ElggWire');
+}