diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/twitter/start.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/twitter/start.php b/mod/twitter/start.php index ca30f0c38..c40f933c7 100644 --- a/mod/twitter/start.php +++ b/mod/twitter/start.php @@ -10,5 +10,5 @@ register_elgg_event_handler('init', 'system', 'twitter_init'); function twitter_init() { elgg_extend_view('css/elgg', 'twitter/css'); - add_widget_type('twitter', elgg_echo('twitter:title'), elgg_echo('twitter:info')); + elgg_register_widget_type('twitter', elgg_echo('twitter:title'), elgg_echo('twitter:info')); } |