Add mimetype to export plugin

This commit is contained in:
Nathan Gray 2010-10-12 22:48:43 +00:00
parent 6c0d3b2c81
commit e646cc4f8e

View File

@ -78,6 +78,10 @@ class addressbook_export_contacts_csv implements importexport_iface_export_plugi
return 'csv'; return 'csv';
} }
public static function get_mimetype() {
return 'text/csv';
}
/** /**
* return html for options. * return html for options.
* this way the plugin has all opertunities for options tab * this way the plugin has all opertunities for options tab