Пример #1
0
 function DoUninstall()
 {
     foreach ($this->events as $event) {
         UnRegisterModuleDependences($event["from_module"], $event["from_event"], $event["to_module"], $event["to_class"], $event["to_method"]);
     }
     UnRegisterModule($this->MODULE_ID);
 }
Пример #2
0
 public static function unregisterListeners()
 {
     UnRegisterModuleDependences("tasks", "OnTaskAdd", "intranet", "\\" . __CLASS__, "onTaskAddEvent");
     UnRegisterModuleDependences("tasks", "OnTaskUpdate", "intranet", "\\" . __CLASS__, "onTaskUpdateEvent");
     UnRegisterModuleDependences("tasks", "OnTaskElapsedTimeAdd", "intranet", "\\" . __CLASS__, "onTaskElapsedTimeAddEvent");
     UnRegisterModuleDependences("tasks", "OnAfterCommentAdd", "intranet", "\\" . __CLASS__, "onAfterCommentAddEvent");
 }
Пример #3
0
 function UnInstallDB($arParams = array())
 {
     UnRegisterModuleDependences("main", "OnPageStart", "compression", "CCompress", "OnPageStart");
     UnRegisterModuleDependences("main", "OnAfterEpilog", "compression", "CCompress", "OnAfterEpilog");
     UnRegisterModule("compression");
     return true;
 }
Пример #4
0
 function DoUninstall()
 {
     UnRegisterModuleDependences("main", "OnBeforeProlog", "intelma.telegramma", "Itelegramma", "MyOnBeforePrologHandler");
     UnRegisterModuleDependences("iblock", "OnAfterIBlockElementAdd", "intelma.telegramma", "Itelegramma", "MyOnAfterIBlockElementAddHandler");
     UnRegisterModuleDependences("iblock", "OnAfterIBlockElementDelete", "intelma.telegramma", "Itelegramma", "MyOnAfterIBlockElementDeleteHandler");
     UnRegisterModule("intelma.telegramma");
 }
Пример #5
0
	function UnInstallDB()
	{
		global $DB, $DBType, $APPLICATION;

		$errors = $DB->RunSQLBatch($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/install/db/".$DBType."/uninstall.sql");
		if (!empty($errors))
		{
			$APPLICATION->ThrowException(implode("", $errors));
			return false;
		}

	
	
		UnRegisterModuleDependences("main", "OnGroupDelete", "fileman", "CFileman", "OnGroupDelete");
		UnRegisterModuleDependences("main", "OnPanelCreate", "fileman", "CFileman", "OnPanelCreate");
		UnRegisterModuleDependences("main", "OnModuleUpdate", "fileman", "CFileman", "OnModuleUpdate");
		UnRegisterModuleDependences("main", "OnModuleInstalled", "fileman", "CFileman", "ClearComponentsListCache");
		UnRegisterModule("fileman");

		UnRegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'fileman', 'CIBlockPropertyMapGoogle', 'GetUserTypeDescription');
		UnRegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'fileman', 'CIBlockPropertyMapYandex', 'GetUserTypeDescription');
		UnRegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'fileman', 'CIBlockPropertyVideo', 'GetUserTypeDescription');
		UnRegisterModuleDependences("main", "OnUserTypeBuildList", "fileman", "CUserTypeVideo", "GetUserTypeDescription");
		UnRegisterModuleDependences("main", "OnEventLogGetAuditTypes", "fileman", "CEventFileman", "GetAuditTypes");
		UnRegisterModuleDependences("main", "OnEventLogGetAuditHandlers", "fileman", "CEventFileman", "MakeFilemanObject");

		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/install/tasks/uninstall.php");

		return true;
	}
Пример #6
0
	function UnInstallDB($arParams = array())
	{
		global $APPLICATION, $DB, $DOCUMENT_ROOT;

		if(!array_key_exists("savedata", $arParams) || $arParams["savedata"] != "Y")
		{
			$errors = $DB->RunSQLBatch($DOCUMENT_ROOT."/bitrix/modules/socialservices/install/db/".strtolower($DB->type)."/uninstall.sql");
			if (!empty($errors))
			{
				$APPLICATION->ThrowException(implode("", $errors));
				return false;
			}
		}
		UnRegisterModuleDependences("main", "OnUserDelete", "socialservices", "CSocServAuthDB", "OnUserDelete");
		UnRegisterModuleDependences('socialnetwork', 'OnFillSocNetLogEvents', 'socialservices', 'CSocServEventHandlers', 'OnFillSocNetLogEvents');
		UnRegisterModuleDependences('timeman', 'OnAfterTMReportDailyAdd', 'socialservices', 'CSocServAuthDB', 'OnAfterTMReportDailyAdd');
		UnRegisterModuleDependences('timeman', 'OnAfterTMDayStart', 'socialservices', 'CSocServAuthDB', 'OnAfterTMDayStart');
		UnRegisterModuleDependences('timeman', 'OnTimeManShow', 'socialservices', 'CSocServEventHandlers', 'OnTimeManShow');

		$dbSites = CSite::GetList(($b="sort"), ($o="asc"), array("ACTIVE" => "Y"));
		while ($arSite = $dbSites->Fetch())
		{
			$siteId = $arSite['ID'];
			CAgent::RemoveAgent("CSocServAuthManager::GetTwitMessages($siteId);", "socialservices");
		}

		UnRegisterModule("socialservices");

		return true;
	}
Пример #7
0
 function UnInstallDB($arParams = array()) {
     UnRegisterModuleDependences('main', 'OnPageStart', self::MODULE_ID, 'WS\Migrations\Module', 'listen');
     UnRegisterModuleDependences('main', 'OnAfterEpilog', self::MODULE_ID, 'WS\Migrations\Module', 'commitDutyChanges');
     global $DB;
     $DB->RunSQLBatch(Application::getDocumentRoot().'/'.Application::getPersonalRoot()."/modules/".$this->MODULE_ID."/install/db/uninstall.sql");
     return true;
 }
Пример #8
0
 function UnInstallDB($arParams = array())
 {
     global $DB, $APPLICATION;
     $this->errors = false;
     if (!array_key_exists("savedata", $arParams) || $arParams["savedata"] != "Y") {
         $this->errors = $DB->RunSQLBatch($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/meeting/install/db/" . strtolower($DB->type) . "/uninstall.sql");
         if ($this->errors === false && CModule::IncludeModule('forum')) {
             $dbRes = CSite::GetList($by = 'sort', $order = 'asc', array());
             while ($arSite = $dbRes->Fetch()) {
                 $forumId = COption::GetOptionInt('meeting', 'comments_forum_id', 0, $arSite['ID']);
                 if ($forumId > 0) {
                     CForumNew::Delete($forumId);
                 }
             }
         }
     }
     UnRegisterModuleDependences("calendar", "OnAfterCalendarConvert", "meeting", "CMeetingEventHandlers", "OnAfterCalendarConvert");
     UnRegisterModuleDependences("tasks", "OnTaskDelete", "meeting", "CMeetingEventHandlers", "OnTaskDelete");
     UnRegisterModule("meeting");
     if ($this->errors !== false) {
         $APPLICATION->ThrowException(implode("<br>", $this->errors));
         return false;
     }
     return true;
 }
Пример #9
0
 function UnInstallDB($arParams = array())
 {
     global $DB, $DBType, $APPLICATION;
     $this->errors = false;
     if (!array_key_exists("savedata", $arParams) || $arParams["savedata"] != "Y") {
         $this->errors = $DB->RunSQLBatch($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/vote/install/db/" . strtolower($DB->type) . "/uninstall.sql");
     }
     //delete agents
     CAgent::RemoveModuleAgents("vote");
     $db_res = $DB->Query("SELECT ID FROM b_file WHERE MODULE_ID = 'vote'");
     while ($arRes = $db_res->Fetch()) {
         CFile::Delete($arRes["ID"]);
     }
     // Events
     include $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/vote/install/events/del_events.php";
     UnRegisterModuleDependences("im", "OnGetNotifySchema", "vote", "CVoteNotifySchema", "OnGetNotifySchema");
     UnRegisterModuleDependences("main", "OnUserLogin", "vote", "CVoteUser", "OnUserLogin", 200);
     UnRegisterModuleDependences("main", "OnUserTypeBuildList", "vote", "CUserTypeVote", "GetUserTypeDescription", 200);
     UnRegisterModuleDependences("main", "OnBeforeProlog", "main", "", "", "/modules/vote/keepvoting.php");
     UnRegisterModule("vote");
     if ($this->errors !== false) {
         $APPLICATION->ThrowException(implode("<br>", $this->errors));
         return false;
     }
     return true;
 }
Пример #10
0
 function UnInstallDB($arParams = array())
 {
     global $DB, $DBType, $APPLICATION;
     UnRegisterModuleDependences("main", "OnBeforeProlog", "bitrix.eshop", "CEShop", "ShowPanel");
     UnRegisterModule("bitrix.eshop");
     return true;
 }
Пример #11
0
 public function UnInstallDB()
 {
     global $APPLICATION, $DB, $DBType, $errors;
     UnRegisterModuleDependences('sale', 'OnSaleComponentOrderOneStepProcess', $this->MODULE_ID, 'CDadataSuggestions', 'OnSaleComponentOrderOneStepProcess');
     UnRegisterModule($this->MODULE_ID);
     return true;
 }
Пример #12
0
 function UnInstallDB($arParams = array())
 {
     global $DB, $DBType, $APPLICATION;
     $this->errors = false;
     if (!array_key_exists("save_tables", $arParams) || $arParams["save_tables"] != "Y") {
         $this->errors = $DB->RunSQLBatch($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sender/install/db/" . $DBType . "/uninstall.sql");
     }
     CAgent::RemoveModuleAgents('sender');
     UnRegisterModuleDependences("main", "OnMailEventMailRead", "sender", "bitrix\\sender\\postingmanager", "onMailEventMailRead");
     UnRegisterModuleDependences("main", "OnMailEventMailClick", "sender", "bitrix\\sender\\postingmanager", "onMailEventMailClick");
     UnRegisterModuleDependences("main", "OnMailEventSubscriptionDisable", "sender", "Bitrix\\Sender\\Subscription", "onMailEventSubscriptionDisable");
     UnRegisterModuleDependences("main", "OnMailEventSubscriptionEnable", "sender", "Bitrix\\Sender\\Subscription", "onMailEventSubscriptionEnable");
     UnRegisterModuleDependences("main", "OnMailEventSubscriptionList", "sender", "Bitrix\\Sender\\Subscription", "onMailEventSubscriptionList");
     UnRegisterModuleDependences("sender", "OnConnectorList", "sender", "bitrix\\sender\\connectormanager", "onConnectorListContact");
     UnRegisterModuleDependences("sender", "OnConnectorList", "sender", "bitrix\\sender\\connectormanager", "onConnectorListRecipient");
     UnRegisterModuleDependences("sender", "OnPresetTemplateList", "sender", "Bitrix\\Sender\\Preset\\TemplateBase", "onPresetTemplateList");
     UnRegisterModuleDependences("sender", "OnPresetTemplateList", "sender", "Bitrix\\Sender\\TemplateTable", "onPresetTemplateList");
     UnRegisterModuleDependences("sender", "OnPresetMailBlockList", "sender", "Bitrix\\Sender\\Preset\\MailBlockBase", "OnPresetMailBlockList");
     UnRegisterModule("sender");
     if ($this->errors !== false) {
         $APPLICATION->ThrowException(implode("<br>", $this->errors));
         return false;
     }
     return true;
 }
Пример #13
0
	function UnInstallDB($arParams = array())
	{

		UnRegisterModuleDependences('main', 'OnPanelCreate', self::MODULE_ID, '\Hotpin\Lang\Handler', 'addPanelButton');

		return true;
	}
Пример #14
0
 function UnInstallDB($arParams = array())
 {
     global $DB, $DBType, $APPLICATION;
     $this->errors = false;
     if (!array_key_exists("save_tables", $arParams) || $arParams["save_tables"] != "Y") {
         // remove user data
         CModule::IncludeModule("highloadblock");
         $result = \Bitrix\Highloadblock\HighloadBlockTable::getList();
         while ($hldata = $result->fetch()) {
             \Bitrix\Highloadblock\HighloadBlockTable::delete($hldata['ID']);
         }
         // remove hl system data
         $this->errors = $DB->RunSQLBatch($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/highloadblock/install/db/" . strtolower($DB->type) . "/uninstall.sql");
     }
     UnRegisterModule("highloadblock");
     UnRegisterModuleDependences("main", "OnBeforeUserTypeAdd", "highloadblock", '\\Bitrix\\Highloadblock\\HighloadBlockTable', "OnBeforeUserTypeAdd");
     UnRegisterModuleDependences("main", "OnAfterUserTypeAdd", "highloadblock", '\\Bitrix\\Highloadblock\\HighloadBlockTable', "onAfterUserTypeAdd");
     UnRegisterModuleDependences("main", "OnBeforeUserTypeDelete", "highloadblock", '\\Bitrix\\Highloadblock\\HighloadBlockTable', "OnBeforeUserTypeDelete");
     UnRegisterModuleDependences('main', 'OnUserTypeBuildList', 'highloadblock', 'CUserTypeHlblock', 'GetUserTypeDescription');
     UnRegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'highloadblock', 'CIBlockPropertyDirectory', 'GetUserTypeDescription');
     if ($this->errors !== false) {
         $APPLICATION->ThrowException(implode("<br>", $this->errors));
         return false;
     }
     return true;
 }
Пример #15
0
 function UnInstallDB($arParams = array())
 {
     global $DB, $DBType, $APPLICATION;
     $this->errors = false;
     UnRegisterModuleDependences("main", "OnPageStart", "security", "CSecurityIPRule", "OnPageStart");
     UnRegisterModuleDependences("main", "OnBeforeProlog", "security", "CSecurityFilter", "OnBeforeProlog");
     UnRegisterModuleDependences("main", "OnEndBufferContent", "security", "CSecurityXSSDetect", "OnEndBufferContent");
     UnRegisterModuleDependences("main", "OnBeforeUserLogin", "security", "CSecurityUser", "OnBeforeUserLogin");
     UnRegisterModuleDependences("main", "OnUserDelete", "security", "CSecurityUser", "OnUserDelete");
     UnRegisterModuleDependences("main", "OnEventLogGetAuditTypes", "security", "CSecurityFilter", "GetAuditTypes");
     UnRegisterModuleDependences("main", "OnEventLogGetAuditTypes", "security", "CSecurityAntiVirus", "GetAuditTypes");
     UnRegisterModuleDependences("main", "OnBeforeLocalRedirect", "security", "CSecurityRedirect", "BeforeLocalRedirect");
     UnRegisterModuleDependences("main", "OnEndBufferContent", "security", "CSecurityRedirect", "EndBufferContent");
     UnRegisterModuleDependences("main", "OnAdminInformerInsertItems", "security", "CSecurityFilter", "OnAdminInformerInsertItems");
     UnRegisterModuleDependences("main", "OnAdminInformerInsertItems", "security", "CSecuritySiteChecker", "OnAdminInformerInsertItems");
     COption::SetOptionString("main", "session_id_ttl", "60");
     COption::SetOptionString("main", "use_session_id_ttl", "N");
     COption::SetOptionInt("main", "session_id_ttl", 60);
     COption::SetOptionString("security", "session", "N");
     if (!array_key_exists("save_tables", $arParams) || $arParams["save_tables"] != "Y") {
         $this->errors = $DB->RunSQLBatch($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/security/install/db/" . strtolower($DB->type) . "/uninstall.sql");
         $this->UnInstallTasks();
     }
     UnRegisterModule("security");
     if ($this->errors !== false) {
         $APPLICATION->ThrowException(implode("<br>", $this->errors));
         return false;
     }
     return true;
 }
Пример #16
0
 function UnInstallDB()
 {
     COption::RemoveOption("translate");
     UnRegisterModuleDependences('main', 'OnPanelCreate', 'translate');
     UnRegisterModule("translate");
     return true;
 }
Пример #17
0
 function UnInstallDB($arParams = array())
 {
     global $DB, $APPLICATION;
     $errors = null;
     if (CModule::IncludeModule("socialnetwork")) {
         $dbLog = CSocNetLog::GetList(array(), array("ENTITY_TYPE" => array("R", "T"), "EVENT_ID" => array("timeman_entry", "report")), false, false, array("ID"));
         while ($arLog = $dbLog->Fetch()) {
             CSocNetLog::Delete($arLog["ID"]);
         }
     }
     if (true == array_key_exists("savedata", $arParams) && $arParams["savedata"] != 'Y') {
         $errors = $DB->RunSQLBatch($_SERVER["DOCUMENT_ROOT"] . '/bitrix/modules/' . $this->MODULE_ID . '/install/db/' . strtolower($DB->type) . '/uninstall.sql');
         if (!empty($errors)) {
             $APPLICATION->ThrowException(implode("", $errors));
             return false;
         }
         $this->UnInstallTasks();
     }
     UnRegisterModuleDependences('socialnetwork', 'OnFillSocNetLogEvents', 'timeman', 'CReportNotifications', 'AddEvent');
     UnRegisterModuleDependences('socialnetwork', 'OnFillSocNetAllowedSubscribeEntityTypes', 'timeman', 'CReportNotifications', 'OnFillSocNetAllowedSubscribeEntityTypes');
     UnRegisterModuleDependences('socialnetwork', 'OnFillSocNetLogEvents', 'timeman', 'CTimeManNotify', 'OnFillSocNetLogEvents');
     UnRegisterModuleDependences('socialnetwork', 'OnFillSocNetAllowedSubscribeEntityTypes', 'timeman', 'CTimeManNotify', 'OnFillSocNetAllowedSubscribeEntityTypes');
     UnRegisterModuleDependences("im", "OnGetNotifySchema", "timeman", "CTimemanNotifySchema", "OnGetNotifySchema");
     UnRegisterModuleDependences('main', 'OnAfterUserUpdate', 'timeman', 'CTimeManNotify', 'OnAfterUserUpdate');
     UnRegisterModuleDependences('main', 'OnAfterUserUpdate', 'timeman', 'CReportNotifications', 'OnAfterUserUpdate');
     UnRegisterModule($this->MODULE_ID);
     return true;
 }
Пример #18
0
 function UnInstallDB($arParams = array())
 {
     UnRegisterModuleDependences("pull", "OnGetDependentModule", "mobile", "CMobileEvent", "PullOnGetDependentModule");
     UnRegisterModuleDependences("main", "OnApplicationsBuildList", "main", 'MobileApplication', "OnApplicationsBuildList", 100, "modules/mobile/classes/general/mobile_event.php");
     UnRegisterModule("mobile");
     return true;
 }
Пример #19
0
	function UnInstallEvents($arParams = array())
	{
		UnRegisterModuleDependences('main', 'OnBuildGlobalMenu', self::MODULE_ID, 'Cbxd', 'OnBuildGlobalMenu');
		UnRegisterModuleDependences('main', 'OnBeforeProlog', self::MODULE_ID, 'Cbxd', 'OnBeforeProlog');
        UnRegisterModuleDependences('main', 'OnProlog', self::MODULE_ID, 'Cbxd', 'OnProlog');
		return true;
	}
Пример #20
0
 function UnInstallDB()
 {
     // именно в таком порядке
     UnRegisterModuleDependences("main", "OnProlog", $this->MODULE_ID, "TestModuleOnPageLoad", "testModuleMainHandler");
     UnRegisterModule($this->MODULE_ID);
     return true;
 }
Пример #21
0
	function UnInstallDB()
	{
		UnRegisterModuleDependences("iblock", "OnBeforeIBlockElementDelete", "photogallery", "CPhotogalleryElement", "OnBeforeIBlockElementDelete");
		UnRegisterModuleDependences("iblock", "OnAfterIBlockElementAdd", "photogallery", "CPhotogalleryElement", "OnAfterIBlockElementAdd");
		UnRegisterModuleDependences("search", "BeforeIndex", "photogallery", "CRatingsComponentsPhotogallery", "BeforeIndex");
		UnRegisterModule("photogallery");
		return true;
	}
Пример #22
0
 function DoUninstall()
 {
     global $DOCUMENT_ROOT, $APPLICATION;
     UnRegisterModuleDependences("iblock", "OnBeforeIBlockElementUpdate", $this->MODULE_ID, "cMainRPJ", "onBeforeElementUpdateHandler");
     UnRegisterModule($this->MODULE_ID);
     $APPLICATION->IncludeAdminFile("Деинсталляция модуля " . $this->MODULE_ID, $DOCUMENT_ROOT . "/bitrix/modules/" . $this->MODULE_ID . "/install/unstep.php");
     return true;
 }
Пример #23
0
 function UnInstallDB($arParams = array())
 {
     UnRegisterModuleDependences("main", "OnPrologAdminTitle", "storeassist", "CStoreAssist", "onPrologAdminTitle");
     UnRegisterModuleDependences('main', 'OnBuildGlobalMenu', "storeassist", "CStoreAssist", "onBuildGlobalMenu");
     CAgent::RemoveModuleAgents("storeassist");
     UnRegisterModule("storeassist");
     return true;
 }
Пример #24
0
 function DoUninstall()
 {
     global $DOCUMENT_ROOT, $APPLICATION;
     UnRegisterModuleDependences("iblock","OnAfterIBlockElementUpdate","zakrepisettigs","cSettingsTemplates","onBeforeElementUpdateHandler");
     UnRegisterModule($this->MODULE_ID);
     $APPLICATION->IncludeAdminFile("Удаление модуля zakrepiSettings", $DOCUMENT_ROOT."/local/modules/zakrepisettigs/install/unstep.php");
     return true;
 }
Пример #25
0
function __OnAfterSetOption_disk_space($value)
{
    if (COption::GetOptionInt("main", "disk_space") > 0) {
        RegisterModuleDependences("main", "OnEpilog", "main", "CDiskQuota", "setDBSize");
    } else {
        UnRegisterModuleDependences("main", "OnEpilog", "main", "CDiskQuota", "setDBSize");
    }
}
Пример #26
0
 function DoUninstall()
 {
     DeleteDirFilesEx('/bitrix/js/' . self::MODULE_ID);
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . self::MODULE_ID . "/install/public_html/themes/.default/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/.default");
     UnRegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', self::MODULE_ID, 'UserDataColor', 'GetIBlockPropertyDescription');
     //      UnRegisterModuleDependences('main', 'OnUserTypeBuildList', self::MODULE_ID, 'UserDataColor', 'GetUserTypeDescription');
     UnRegisterModule(self::MODULE_ID);
 }
Пример #27
0
    public function doUninstall()
    {
        ModuleManager::unregisterModule($this->MODULE_ID);
        $this->UnInstallFiles();
        $this->uninstallDB();

        UnRegisterModuleDependences('iblock', 'OnBeforeIBlockElementDelete', $this->MODULE_ID, '\Iiko\Event', 'onIBlockElementDelete');
    }
Пример #28
0
	function UnInstallEvents()
	{
		COption::RemoveOption("refreshlab.err404");
		UnRegisterModuleDependences("main", "OnEpilog", "refreshlab.err404", "CErr404", "handler404");
		UnRegisterModule("refreshlab.err404");
  
		return true;
	}
Пример #29
0
 function DoUninstall()
 {
     global $DOCUMENT_ROOT, $APPLICATION;
     UnRegisterModuleDependences("iblock","OnAfterIBlockElementUpdate","cradobaners","cCradoBaners","onBeforeElementUpdateHandler");
     UnRegisterModule($this->MODULE_ID);
     $APPLICATION->IncludeAdminFile("Деинсталляция модуля cradobaners", $DOCUMENT_ROOT."/local/modules/cradobaners/install/unstep.php");
     return true;
 }
Пример #30
0
 /**
  * Sets Ebay inactive.
  * @return bool
  */
 public function unsetActive()
 {
     if (!$this->isActive()) {
         return true;
     }
     UnRegisterModuleDependences("sale", "OnSaleDeductOrder", "sale", '\\Bitrix\\Sale\\TradingPlatform\\Ebay\\Helper', "onSaleDeductOrder", 100);
     return parent::unsetActive();
 }