public function uninstall() { CRM_CalendarCommon::delete_event_handler('Phonecalls'); CRM_RoundcubeCommon::delete_addon('phonecall'); Base_ThemeCommon::uninstall_default_theme(CRM_PhoneCallInstall::module_name()); Utils_AttachmentCommon::delete_addon('phonecall'); Utils_AttachmentCommon::persistent_mass_delete('phonecall/'); Utils_RecordBrowserCommon::unregister_processing_callback('phonecall', array('CRM_PhoneCallCommon', 'submit_phonecall')); Utils_RecordBrowserCommon::uninstall_recordset('phonecall'); return true; }
public function uninstall() { Base_ThemeCommon::uninstall_default_theme($this->get_type()); Utils_CommonDataCommon::remove('crm_assets_category'); Utils_CommonDataCommon::remove('crm_assets_monitor_type'); Utils_CommonDataCommon::remove('crm_assets_printer_type'); Utils_RecordBrowserCommon::delete_addon('company', 'CRM/Assets', 'assets_addon'); Utils_AttachmentCommon::delete_addon('crm_assets'); Utils_AttachmentCommon::persistent_mass_delete('crm_assets'); Utils_RecordBrowserCommon::uninstall_recordset('crm_assets'); Utils_RecordBrowserCommon::unregister_processing_callback('crm_assets', array('CRM_AssetsCommon', 'process_request')); return true; }