diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-15 20:28:58 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-15 20:28:58 +0000 |
commit | 68d9bce9cb0e98a50da8a67a665d9c537ce012d0 (patch) | |
tree | fe418de5e16842fcc483c14621c5075d745a4cb7 /mod/file/start.php | |
parent | fa2c88ca281a9d661b2f8121a56a64d3ce78784a (diff) | |
download | elgg-68d9bce9cb0e98a50da8a67a665d9c537ce012d0.tar.gz elgg-68d9bce9cb0e98a50da8a67a665d9c537ce012d0.tar.bz2 |
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
Diffstat (limited to 'mod/file/start.php')
-rw-r--r-- | mod/file/start.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php index 3b86dcdf0..c939877f5 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -40,7 +40,7 @@ register_page_handler('file','file_page_handler'); // Add a new file widget - add_widget_type('filerepo',elgg_echo("file"),elgg_echo("file:widget:description")); + elgg_register_widget_type('filerepo',elgg_echo("file"),elgg_echo("file:widget:description")); // Register a URL handler for files register_entity_url_handler('file_url','object','file'); |