diff options
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 f187cb778..0421737b7 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -45,7 +45,7 @@ function file_init() { add_group_tool_option('file', elgg_echo('groups:enablefiles'), true); // Register entity type for search - register_entity_type('object', 'file'); + elgg_register_entity_type('object', 'file'); // add a file link to owner blocks elgg_register_plugin_hook_handler('register', 'menu:owner_block', 'file_owner_block_menu'); |