Remove outdated CSV export charset preference - Import/Export app is used now

This commit is contained in:
Nathan Gray 2012-10-16 19:33:06 +00:00
parent 4f59f282a0
commit cdeff90e8c
2 changed files with 0 additions and 18 deletions

View File

@ -154,16 +154,6 @@ class addressbook_hooks
'admin' => false,
'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(
'type' => 'select',

View File

@ -841,14 +841,6 @@ class addressbook_ui extends addressbook_bo
}
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':
$action_msg = lang('exported');
$vcard = new addressbook_vcal('addressbook','text/vcard');