mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:32:31 +02:00
Remove outdated CSV export charset preference - Import/Export app is used now
This commit is contained in:
parent
4f59f282a0
commit
cdeff90e8c
@ -154,16 +154,6 @@ class addressbook_hooks
|
|||||||
'admin' => false,
|
'admin' => false,
|
||||||
'default'=> 'business',
|
'default'=> 'business',
|
||||||
);
|
);
|
||||||
$settings['csv_charset'] = array(
|
|
||||||
'type' => 'select',
|
|
||||||
'label' => 'Charset for the CSV export',
|
|
||||||
'name' => 'csv_charset',
|
|
||||||
'values' => translation::get_installed_charsets(),
|
|
||||||
'help' => 'Which charset should be used for the CSV export. The system default is the charset of this eGroupWare installation.',
|
|
||||||
'xmlrpc' => True,
|
|
||||||
'admin' => false,
|
|
||||||
'default'=> 'iso-8859-1',
|
|
||||||
);
|
|
||||||
|
|
||||||
$settings['vcard_charset'] = array(
|
$settings['vcard_charset'] = array(
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
|
@ -841,14 +841,6 @@ class addressbook_ui extends addressbook_bo
|
|||||||
}
|
}
|
||||||
switch($action)
|
switch($action)
|
||||||
{
|
{
|
||||||
case 'csv':
|
|
||||||
$action_msg = lang('exported');
|
|
||||||
$csv_export = new addressbook_csv($this,$this->prefs['csv_charset']);
|
|
||||||
$csv_export->export($checked,$csv_export->csv_fields($this->prefs['csv_fields']));
|
|
||||||
// does not return!
|
|
||||||
$Ok = true;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'vcard':
|
case 'vcard':
|
||||||
$action_msg = lang('exported');
|
$action_msg = lang('exported');
|
||||||
$vcard = new addressbook_vcal('addressbook','text/vcard');
|
$vcard = new addressbook_vcal('addressbook','text/vcard');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user