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/pages/start.php | |
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/pages/start.php')
-rw-r--r-- | mod/pages/start.php | 4 |
1 files changed, 2 insertions, 2 deletions
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')); |