mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Directly set default resource selection preference
This commit is contained in:
parent
4dd1fd6368
commit
d321f78eb1
@ -407,7 +407,6 @@ class calendar_hooks
|
||||
'help' => 'Default type of resources application selected in the calendar particpants research form.',
|
||||
'xmlrpc' => True,
|
||||
'admin' => False,
|
||||
'forced' => 'resources',
|
||||
'default' => 'resources'
|
||||
),
|
||||
'default_private' => array(
|
||||
|
@ -2730,5 +2730,8 @@ function calendar_upgrade16_1_001()
|
||||
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_cal_extra', 'cal_extra_value',
|
||||
array('type' => 'varchar','meta' => 'cfvalue','precision' => '16384','nullable' => False,'default' => ''));
|
||||
|
||||
Api\Preferences::change_preference('calendar', 'defaultresource_sel', 'resources', 'addressbook', 'forced');
|
||||
Api\Preferences::change_preference('calendar', 'defaultresource_sel', 'resources', 'addressbook', 'default');
|
||||
|
||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '16.1.002';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user