From f657a9ebb297ecae181714bb4e05b607dbe5e5a5 Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 5 Sep 2013 21:10:06 +0200 Subject: Removed deprecated function uses. --- start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'start.php') diff --git a/start.php b/start.php index 27b6f9802..954c3400a 100644 --- a/start.php +++ b/start.php @@ -358,9 +358,9 @@ function event_calendar_entity_menu_setup($hook, $type, $return, $params) { /*if (elgg_is_admin_logged_in() && (elgg_get_plugin_setting('allow_featured', 'event_calendar') == 'yes')) { if ($event->featured) { - add_submenu_item(elgg_echo('event_calendar:unfeature'), $CONFIG->url . "action/event_calendar/unfeature?event_id=".$event_id.'&'.event_calendar_security_fields(), 'eventcalendaractions'); + elgg_register_menu_item(elgg_echo('event_calendar:unfeature'), $CONFIG->url . "action/event_calendar/unfeature?event_id=".$event_id.'&'.event_calendar_security_fields(), 'eventcalendaractions'); } else { - add_submenu_item(elgg_echo('event_calendar:feature'), $CONFIG->url . "action/event_calendar/feature?event_id=".$event_id.'&'.event_calendar_security_fields(), 'eventcalendaractions'); + elgg_register_menu_item(elgg_echo('event_calendar:feature'), $CONFIG->url . "action/event_calendar/feature?event_id=".$event_id.'&'.event_calendar_security_fields(), 'eventcalendaractions'); } }*/ -- cgit v1.2.3