empty settings method, calendar selection with follow later

This commit is contained in:
Ralf Becker 2011-03-19 12:53:31 +00:00
parent dbce0992af
commit 136865d48e

View File

@ -76,7 +76,7 @@ class calendar_activesync implements activesync_plugin_write
foreach ($this->calendar->list_cals() as $label => $entry) foreach ($this->calendar->list_cals() as $label => $entry)
{ {
// uncomment next line to get only own calendar // uncomment next line to get only own calendar
if ($entry['grantor'] != $GLOBALS['egw_info']['user']['account_id']) continue; //if ($entry['grantor'] != $GLOBALS['egw_info']['user']['account_id']) continue;
$folderlist[] = $f = array( $folderlist[] = $f = array(
'id' => $this->backend->createID('calendar',$entry['grantor']), 'id' => $this->backend->createID('calendar',$entry['grantor']),
'mod' => $GLOBALS['egw']->accounts->id2name($entry['grantor'],'account_fullname'), 'mod' => $GLOBALS['egw']->accounts->id2name($entry['grantor'],'account_fullname'),
@ -1072,6 +1072,17 @@ END:VTIMEZONE
return $packed; return $packed;
} }
/**
* Populates $settings for the preferences
*
* @param array|string $hook_data
* @return array
*/
function settings($hook_data)
{
return array();
}
} }
/** /**