From 68d9bce9cb0e98a50da8a67a665d9c537ce012d0 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 15 Dec 2010 20:28:58 +0000 Subject: replacing calls to add_widget_type() with elgg_register_widget_type() (from hellekin) git-svn-id: http://code.elgg.org/elgg/trunk@7635 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/blog/start.php') diff --git a/mod/blog/start.php b/mod/blog/start.php index 8caffcb5f..374fe22d2 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -44,7 +44,7 @@ function blog_init() { // Register for search. register_entity_type('object', 'blog'); - //add_widget_type('blog', elgg_echo('blog'), elgg_echo('blog:widget:description'), 'profile, dashboard'); + //elgg_register_widget_type('blog', elgg_echo('blog'), elgg_echo('blog:widget:description'), 'profile, dashboard'); // register actions $action_path = elgg_get_plugin_path() . 'blog/actions/blog'; -- cgit v1.2.3