mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Addressbook - Remove obsolete preference "Export definition to use for nextmatch export"
This commit is contained in:
parent
27307169c1
commit
d0b5d50b0f
@ -321,44 +321,6 @@ class addressbook_hooks
|
||||
// Import / Export for nextmatch
|
||||
if ($GLOBALS['egw_info']['user']['apps']['importexport'])
|
||||
{
|
||||
$definitions = new importexport_definitions_bo(array(
|
||||
'type' => 'export',
|
||||
'application' => 'addressbook'
|
||||
));
|
||||
$options = array(
|
||||
'~nextmatch~' => lang('Old fixed definition')
|
||||
);
|
||||
$default_def = 'export-addressbook';
|
||||
foreach ((array)$definitions->get_definitions() as $identifier)
|
||||
{
|
||||
try
|
||||
{
|
||||
$definition = new importexport_definition($identifier);
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
unset($e);
|
||||
// permission error
|
||||
continue;
|
||||
}
|
||||
if (($title = $definition->get_title()))
|
||||
{
|
||||
$options[$title] = $title;
|
||||
}
|
||||
unset($definition);
|
||||
}
|
||||
$settings['nextmatch-export-definition'] = array(
|
||||
'type' => 'select',
|
||||
'values' => $options,
|
||||
'label' => 'Export definition to use for nextmatch export',
|
||||
'name' => 'nextmatch-export-definition',
|
||||
'help' => 'If you specify an export definition, it will be used when you export',
|
||||
'run_lang' => false,
|
||||
'xmlrpc' => True,
|
||||
'admin' => False,
|
||||
'default'=> isset($options[$default_def]) ? $default_def : false,
|
||||
);
|
||||
|
||||
$settings['vcard_charset'] = array(
|
||||
'type' => 'select',
|
||||
'label' => 'Charset for the vCard import and export',
|
||||
|
Loading…
Reference in New Issue
Block a user