示例#1
0
 public function uninstall()
 {
     $ret = true;
     Utils_RecordBrowserCommon::uninstall_recordset('quick_search');
     Utils_RecordBrowserCommon::unregister_processing_callback('quick_search', array('Applets_QuickSearchCommon', 'parse_values'));
     return $ret;
 }
示例#2
0
 public function uninstall()
 {
     Base_ThemeCommon::uninstall_default_theme('CRM/Contacts/Activities');
     Utils_RecordBrowserCommon::set_tpl('contact', Base_ThemeCommon::get_template_filename('CRM/Contacts', 'Contact'));
     Utils_RecordBrowserCommon::unregister_processing_callback('contact', array('CRM_Contacts_PhotoCommon', 'submit_contact'));
     $this->remove_data_dir();
     DB::DropTable(CRM_Contacts_PhotoCommon::table_name);
     return true;
 }
示例#3
0
 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;
 }
示例#4
0
 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;
 }
示例#5
0
 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;
 }
示例#6
0
 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;
 }
示例#7
0
 public function uninstall()
 {
     Base_AclCommon::remove_clearance_callback(array('CRM_ContactsCommon', 'crm_clearance'));
     Base_ThemeCommon::uninstall_default_theme(CRM_ContactsInstall::module_name());
     Utils_RecordBrowserCommon::unregister_datatype('crm_company');
     Utils_RecordBrowserCommon::unregister_datatype('crm_contact');
     Utils_RecordBrowserCommon::unregister_datatype('crm_company_contact');
     Utils_RecordBrowserCommon::unregister_datatype('email');
     Utils_RecordBrowserCommon::delete_addon('company', CRM_ContactsInstall::module_name(), 'company_addon');
     Utils_AttachmentCommon::delete_addon('company');
     Utils_AttachmentCommon::delete_addon('contact');
     Utils_RecordBrowserCommon::uninstall_recordset('company');
     Utils_RecordBrowserCommon::uninstall_recordset('contact');
     Utils_CommonDataCommon::remove('Contacts_Groups');
     Utils_CommonDataCommon::remove('Companies_Groups');
     Utils_RecordBrowserCommon::unregister_processing_callback('contact', array('CRM_ContactsCommon', 'submit_contact'));
     return true;
 }
示例#8
0
 /**
  * Unregister processing callback from this RecordSet.
  * @param callable $callback callback to static method 
  */
 public function unregister_processing_callback($callback)
 {
     Utils_RecordBrowserCommon::unregister_processing_callback($this->tab, $callback);
 }
示例#9
0
 public function uninstall()
 {
     $this->drop_all_rc_tables();
     Utils_RecordBrowserCommon::delete_addon('rc_mails', 'CRM/Roundcube', 'attachments_addon');
     Utils_RecordBrowserCommon::delete_addon('contact', 'CRM/Roundcube', 'addon');
     Utils_RecordBrowserCommon::delete_addon('company', 'CRM/Roundcube', 'addon');
     DB::DropTable('rc_mails_attachments');
     DB::DropTable('rc_mails_attachments_download');
     Utils_RecordBrowserCommon::uninstall_recordset('rc_mails');
     Utils_RecordBrowserCommon::uninstall_recordset('rc_accounts');
     Utils_RecordBrowserCommon::uninstall_recordset('rc_multiple_emails');
     Utils_CommonDataCommon::remove('CRM/Roundcube/Security');
     Utils_RecordBrowserCommon::unregister_processing_callback('rc_accounts', array('CRM_RoundcubeCommon', 'submit_account'));
     Utils_RecordBrowserCommon::unregister_processing_callback('rc_mails', array('CRM_RoundcubeCommon', 'submit_mail'));
     Base_ThemeCommon::uninstall_default_theme($this->get_type());
     Variable::delete('crm_roundcube_global_signature');
     return true;
 }