aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire')
-rw-r--r--mod/thewire/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/thewire/start.php b/mod/thewire/start.php
index 92c3feca1..3eb172360 100644
--- a/mod/thewire/start.php
+++ b/mod/thewire/start.php
@@ -35,7 +35,7 @@
register_entity_url_handler('thewire_url','object','thewire');
// Your thewire widget
- add_widget_type('thewire',elgg_echo("thewire:read"),elgg_echo("thewire:yourdesc"));
+ elgg_register_widget_type('thewire',elgg_echo("thewire:read"),elgg_echo("thewire:yourdesc"));
// Register entity type
register_entity_type('object','thewire');