diff options
author | Sem <sembrestels@riseup.net> | 2013-09-05 21:10:06 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-09-05 21:10:06 +0200 |
commit | f657a9ebb297ecae181714bb4e05b607dbe5e5a5 (patch) | |
tree | dc585c4ffb5ec3735a913c0daef5d4b5f3f7e1b0 /start.php | |
parent | da191e2432b0853bd33515fb2bc33a0fe50952f9 (diff) | |
download | elgg-f657a9ebb297ecae181714bb4e05b607dbe5e5a5.tar.gz elgg-f657a9ebb297ecae181714bb4e05b607dbe5e5a5.tar.bz2 |
Removed deprecated function uses.
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'); } }*/ |