From 7af1925bb289539d90433a0698cd09a0b874c05f Mon Sep 17 00:00:00 2001 From: Grisha Pomadchin Date: Thu, 19 Sep 2013 00:20:56 +0400 Subject: [PATCH] uninstallation fix --- intaro.intarocrm/install/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/intaro.intarocrm/install/index.php b/intaro.intarocrm/install/index.php index 54a332ab..7063e9ca 100755 --- a/intaro.intarocrm/install/index.php +++ b/intaro.intarocrm/install/index.php @@ -1035,6 +1035,9 @@ class intaro_intarocrm extends CModule { UnRegisterModuleDependences("sale", "OnSalePayOrder", $this->MODULE_ID, "ICrmOrderEvent", "onSalePayOrder"); UnRegisterModuleDependences("sale", "OnSaleCancelOrder", $this->MODULE_ID, "ICrmOrderEvent", "onSaleCancelOrder"); + UnRegisterModuleDependences("sale", "OnOrderNewSendEmail", $this->MODULE_ID, "ICrmOrderEvent", "onSendOrderMail"); + UnRegisterModuleDependences("sale", "OnOrderUpdate", $this->MODULE_ID, "ICrmOrderEvent", "onUpdateOrder"); + UnRegisterModuleDependences("sale", "OnBeforeOrderAdd", $this->MODULE_ID, "ICrmOrderEvent", "onBeforeOrderAdd"); if (CModule::IncludeModule("catalog")) { if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/bitrix/php_interface/include/catalog_export/' . $this->INTARO_CRM_EXPORT . '_run.php')) { $dbProfile = CCatalogExport::GetList(array(), array("FILE_NAME" => $this->INTARO_CRM_EXPORT));