diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-20 21:38:20 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-20 21:38:20 +0000 |
commit | bf222132b5e63a0dbc5f077f6bd6b879c0edb5c1 (patch) | |
tree | b446a5d609d7718648856ebaefd6541c40a2a563 /mod | |
parent | 654daef7471f148ce24d9469c87ee34f6ccd6a45 (diff) | |
download | elgg-bf222132b5e63a0dbc5f077f6bd6b879c0edb5c1.tar.gz elgg-bf222132b5e63a0dbc5f077f6bd6b879c0edb5c1.tar.bz2 |
Refs #3171 Using correct widget registration method
git-svn-id: http://code.elgg.org/elgg/trunk@8788 36083f99-b078-4883-b0ff-0f9b5a30f544
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')); } |