public function uninstall() { CRM_CalendarCommon::delete_event_handler('Tasks'); CRM_RoundcubeCommon::delete_addon('task'); Utils_AttachmentCommon::delete_addon('task'); Base_ThemeCommon::uninstall_default_theme(CRM_TasksInstall::module_name()); Utils_RecordBrowserCommon::unregister_processing_callback('task', array('CRM_TasksCommon', 'submit_task')); Utils_RecordBrowserCommon::uninstall_recordset('task'); return true; }
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() { Utils_AttachmentCommon::delete_addon('crm_meeting'); Utils_RecordBrowserCommon::delete_addon('crm_meeting', CRM_MeetingInstall::module_name(), 'messanger_addon'); CRM_RoundcubeCommon::delete_addon('crm_meeting'); CRM_CalendarCommon::delete_event_handler('Meetings'); Base_ThemeCommon::uninstall_default_theme(CRM_MeetingInstall::module_name()); Utils_RecordBrowserCommon::uninstall_recordset('crm_meeting'); Utils_RecordBrowserCommon::unregister_processing_callback('crm_meeting', array('CRM_MeetingCommon', 'submit_meeting')); return true; }