diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 21:33:59 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 21:33:59 +0000 |
commit | 1196f73263f4050400604467200a71f2e1f0e3cb (patch) | |
tree | 61c251994263d039ae08a29683a476912c524245 /mod/file | |
parent | ed063396330dd8b9d07d211920fe28c8a2a0b925 (diff) | |
download | elgg-1196f73263f4050400604467200a71f2e1f0e3cb.tar.gz elgg-1196f73263f4050400604467200a71f2e1f0e3cb.tar.bz2 |
Removed all calls to deprecated register_entity_type
git-svn-id: http://code.elgg.org/elgg/trunk@8261 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file')
-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'); |