aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/start.php2
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');