aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 21:33:59 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 21:33:59 +0000
commit1196f73263f4050400604467200a71f2e1f0e3cb (patch)
tree61c251994263d039ae08a29683a476912c524245 /mod
parented063396330dd8b9d07d211920fe28c8a2a0b925 (diff)
downloadelgg-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')
-rw-r--r--mod/blog/start.php2
-rw-r--r--mod/bookmarks/start.php2
-rw-r--r--mod/file/start.php2
-rw-r--r--mod/groups/start.php2
-rw-r--r--mod/pages/start.php4
-rw-r--r--mod/thewire/start.php2
6 files changed, 7 insertions, 7 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index ae939fef3..92ce44961 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -49,7 +49,7 @@ function blog_init() {
//elgg_register_plugin_hook_handler('pingback:object:subtypes', 'object', 'blog_pingback_subtypes');
// Register for search.
- register_entity_type('object', 'blog');
+ elgg_register_entity_type('object', 'blog');
// Add group option
add_group_tool_option('blog', elgg_echo('blog:enableblog'), true);
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index 9d8e59334..4f3d7ad1c 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -33,7 +33,7 @@ function bookmarks_init() {
elgg_register_widget_type('bookmarks',elgg_echo("bookmarks"),elgg_echo("bookmarks:widget:description"));
// Register entity type
- register_entity_type('object','bookmarks');
+ elgg_register_entity_type('object','bookmarks');
// Add group menu option
add_group_tool_option('bookmarks',elgg_echo('bookmarks:enablebookmarks'),true);
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');
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 9b18e4d9b..6cd4b07ad 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -18,7 +18,7 @@ function groups_init() {
elgg_register_library('elgg:groups', elgg_get_plugins_path() . 'groups/lib/groups.php');
// register group entities for search
- register_entity_type('group', '');
+ elgg_register_entity_type('group', '');
// Set up the menu
$item = new ElggMenuItem('groups', elgg_echo('groups'), 'pg/groups/all');
diff --git a/mod/pages/start.php b/mod/pages/start.php
index 51f7f84af..ea37ba935 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -37,8 +37,8 @@ function pages_init() {
elgg_extend_view('css/screen', 'pages/css');
// Register entity type for search
- register_entity_type('object', 'page');
- register_entity_type('object', 'page_top');
+ elgg_register_entity_type('object', 'page');
+ elgg_register_entity_type('object', 'page_top');
// Register granular notification for this type
register_notification_object('object', 'page', elgg_echo('pages:new'));
diff --git a/mod/thewire/start.php b/mod/thewire/start.php
index d36be6e99..0c0d1efad 100644
--- a/mod/thewire/start.php
+++ b/mod/thewire/start.php
@@ -38,7 +38,7 @@ function thewire_init() {
add_widget_type('thewire', elgg_echo('thewire'), elgg_echo("thewire:widget:desc"));
// Register entity type
- register_entity_type('object', 'thewire');
+ elgg_register_entity_type('object', 'thewire');
// Register granular notification for this type
register_notification_object('object', 'thewire', elgg_echo('thewire:notify:subject'));