Reduce integration data sent each time, we can use the link registry already on the client.

This commit is contained in:
Nathan Gray 2015-10-07 16:45:23 +00:00
parent 8fa12bc9d5
commit 0e7a5338f0

View File

@ -447,12 +447,6 @@ class calendar_uilist extends calendar_ui
if (!isset($js_integration_data[$app]))
{
$js_integration_data[$app] = calendar_bo::integration_get_data($app,'edit_link');
if (!is_array($js_integration_data[$app]) || !isset($js_integration_data[$app]['edit']))
{
$js_integration_data[$app]['edit'] = egw_link::get_registry($app, 'edit');
$js_integration_data[$app]['edit_id'] = egw_link::get_registry($app, 'edit_id');
$js_integration_data[$app]['edit_popup'] = egw_link::get_registry($app, 'edit_popup');
}
}
}
elseif ($event['recur_type'] != MCAL_RECUR_NONE)