Exemplo n.º 1
0
 function UnInstallFiles()
 {
     if ($_ENV["COMPUTERNAME"] != 'BX') {
         DeleteDirFilesEx("/bitrix/components/primepix/");
     }
     return true;
 }
Exemplo n.º 2
0
 public function UnInstallFiles()
 {
     $result = true;
     $result = $result && DeleteDirFilesEx('/bitrix/components/rees46');
     $result = $result && DeleteDirFilesEx('/include/rees46-handler.php');
     return $result;
 }
Exemplo n.º 3
0
 public function uninstallFiles()
 {
     DeleteDirFilesEx("/bitrix/components/" . $this->namespaceFolder);
     DeleteDirFilesEx("/bitrix/php_interface/include/sale_payment/devtm.begateway");
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . $this->MODULE_ID . "/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
     return true;
 }
Exemplo n.º 4
0
 function UnInstallFiles()
 {
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/anmaslov.stall/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/anmaslov.stall/install/themes/.default/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/.default");
     DeleteDirFilesEx("/bitrix/themes/.default/start_menu/anmaslov.stall");
     return true;
 }
Exemplo n.º 5
0
 function UnInstallFiles()
 {
     DeleteDirFilesEx("/bitrix/php_interface/include/sale_payment/rficb.payment");
     DeleteDirFilesEx("/bitrix/tools/rficb.payment/");
     DeleteDirFilesEx("/bitrix/themes/.default/icons/rficb/");
     return true;
 }
Exemplo n.º 6
0
 function UnInstallFiles()
 {
     DeleteDirFilesEx('/bitrix/php_interface/include/sale_payment/hutkigrosh');
     DeleteDirFilesEx('/payinfo');
     DeleteDirFilesEx('/hgrosh');
     return true;
 }
Exemplo n.º 7
0
	public function UnInstallFiles()
	{
		DeleteDirFilesEx("/bitrix/components/pr/pwd");
		COption::RemoveOption($this->MODULE_ID);
		
		return true;
	}
Exemplo n.º 8
0
 function UnInstallFiles()
 {
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/perfmon/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/perfmon/install/themes/.default/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/.default");
     DeleteDirFilesEx("/bitrix/images/perfmon/");
     return true;
 }
Exemplo n.º 9
0
	function UnInstallFiles()
	{
		DeleteDirFilesEx("/bitrix/components/digroup/slider_new");
		DeleteDirFilesEx("/bitrix/js/dg_slider_new/");
		//DeleteDirFilesEx("/bitrix/images/dg_slider_new/");
		return true;
	}
Exemplo n.º 10
0
 function UnInstallFiles()
 {
     if ($_ENV["COMPUTERNAME"] != 'BX') {
         DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/scale/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
         DeleteDirFilesEx("/bitrix/js/scale/");
     }
     return true;
 }
Exemplo n.º 11
0
	function UnInstallFiles()
	{
		DeleteDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/translate/install/admin", $_SERVER["DOCUMENT_ROOT"]."/bitrix/admin");
		DeleteDirFilesEx("/bitrix/images/translate/");
		DeleteDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/translate/install/themes/.default/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/themes/.default");//css
		DeleteDirFilesEx("/bitrix/themes/.default/icons/translate/");//icons
		return true;
	}
Exemplo n.º 12
0
 function UnInstallFiles()
 {
     if ($_ENV["COMPUTERNAME"] != 'BX') {
         DeleteDirFilesEx('/mobile');
         DeleteDirFilesEx('/bitrix/templates/mobile_app/');
     }
     return true;
 }
Exemplo n.º 13
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);
 }
Exemplo n.º 14
0
 function UnInstallFiles()
 {
     if ($_ENV["COMPUTERNAME"] != 'BX') {
         DeleteDirFilesEx("/bitrix/js/socialservices/");
         DeleteDirFilesEx("/bitrix/images/socialservices/");
         DeleteDirFilesEx("/bitrix/tools/oauth/");
     }
     return true;
 }
Exemplo n.º 15
0
	function UnInstallFiles()
	{
		DeleteDirFilesEx("/bitrix/components/beono/yandexfotki");
		DeleteDirFilesEx("/bitrix/components/beono/yandexfotki.album");
		DeleteDirFilesEx("/bitrix/components/beono/yandexfotki.albums");
		DeleteDirFilesEx("/bitrix/components/beono/yandexfotki.photo");
		DeleteDirFilesEx("/bitrix/templates/.default/page_templates/beono.yandexfotki");
		return true;
	}
Exemplo n.º 16
0
 public function DoUninstall()
 {
     COption::RemoveOption('bx_moddev');
     DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/bx_moddev/install/admin', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin');
     // DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/bx_moddev/install/components', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/components');
     DeleteDirFilesEx("/bitrix/js/bx_moddev");
     UnRegisterModule('bx_moddev');
     return true;
 }
Exemplo n.º 17
0
 /**
  * Удаляем модуль
  */
 public function DoUninstall()
 {
     /* if(!$this->UnInstallDB()){
         return;
     } */
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/{$this->MODULE_ID}/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
     DeleteDirFilesEx('/bitrix/components/citfact/citfact.orderclick/');
     UnRegisterModule($this->MODULE_ID);
 }
Exemplo n.º 18
0
 function UnInstallFiles()
 {
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . $this->MODULE_ID . "/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
     DeleteDirFilesEx("/bitrix/js/" . $this->MODULE_ID . "/");
     DeleteDirFilesEx("/bitrix/swf/" . $this->MODULE_ID . "/");
     DeleteDirFilesEx("/bitrix/xml/" . $this->MODULE_ID . "/");
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . $this->MODULE_ID . "/install/themes/.default/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/.default");
     DeleteDirFilesEx("/bitrix/themes/.default/icons/" . $this->MODULE_ID . "/");
     return true;
 }
Exemplo n.º 19
0
 function UnInstallFiles()
 {
     DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/wiki/install/admin', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin');
     DeleteDirFilesEx('/bitrix/images/wiki/');
     DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/wiki/install/themes/.default/', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/themes/.default');
     //css
     DeleteDirFilesEx('/bitrix/themes/.default/icons/wiki/');
     //icons
     return true;
 }
Exemplo n.º 20
0
 public function DoUninstall()
 {
     COption::RemoveOption($this->MODULE_ID);
     DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/ibulkapi/install/admin', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin');
     DeleteDirFilesEx("/bitrix/js/ibulkapi");
     UnRegisterModule($this->MODULE_ID);
     UnRegisterModuleDependences('ibulkapi', 'ActionsInfo', 'ibulkapi', 'IBulkAPIActionTest', 'GetInfo');
     UnRegisterModuleDependences('ibulkapi', 'TemplatesInfo', 'ibulkapi', 'IBulkAPITemplates', 'GetInfo');
     return true;
 }
Exemplo n.º 21
0
	public function UnInstallFiles()
	{
		DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/'.$this->MODULE_ID.'/install/themes/.default/' , $_SERVER['DOCUMENT_ROOT'] . '/bitrix/themes/.default');
		DeleteDirFilesEx("/bitrix/themes/.default/icons/'.$this->MODULE_ID.'");
		DeleteDirFilesEx("/bitrix/js/'.$this->MODULE_ID.'");
		DeleteDirFilesEx("/bitrix/components/pr/recrm");
		DeleteDirFilesEx("/bitrix/components/pr/recrm.detail");
		DeleteDirFilesEx("/bitrix/components/pr/recrm.list");

		COption::RemoveOption($this->MODULE_ID);
		
		return true;
	}
Exemplo n.º 22
0
 function UnInstallFiles()
 {
     if ($_ENV["COMPUTERNAME"] != 'BX') {
         DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/controller/install/admin/', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin');
         DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/controller/install/themes/.default/', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/themes/.default');
         //css
         DeleteDirFilesEx('/bitrix/themes/.default/icons/controller/');
         //icons
         DeleteDirFilesEx('/bitrix/images/controller/');
         //images
     }
     return true;
 }
Exemplo n.º 23
0
  function DoUninstall()
  {
    global $DOCUMENT_ROOT, $APPLICATION;
    $this->UnInstallDB();
    $this->UnInstallFiles();
    UnRegisterModule("user_vars");

    DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/user_vars/install/admin", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
    DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/user_vars/install/themes/.default/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/.default"); //css
    DeleteDirFilesEx("/bitrix/themes/.default/icons/user_vars/"); //icons
    DeleteDirFilesEx("/bitrix/images/user_vars/"); //images

    $APPLICATION->IncludeAdminFile(GetMessage('UV_UNINSTALL_TITLE'), $DOCUMENT_ROOT . "/bitrix/modules/user_vars/install/unstep.php");
  }
Exemplo n.º 24
0
 function UnInstallFiles()
 {
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/grain.customsettings/install/admin", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/grain.customsettings/install/themes/.default/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/.default");
     //css
     DeleteDirFilesEx("/bitrix/themes/.default/icons/grain.customsettings/");
     //icons
     DeleteDirFilesEx("/bitrix/themes/.default/start_menu/grain.customsettings/");
     //start menu icons
     DeleteDirFilesEx("/bitrix/images/grain.customsettings/");
     //images
     DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/grain.customsettings/lang/ru/default_settings/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/grain.customsettings/admin");
     // default settings files
     return true;
 }
Exemplo n.º 25
0
 public function DoUninstall()
 {
     UnRegisterModuleDependences('main', 'OnAdminListDisplay', 'asd.iblock', 'CASDiblockInterface', 'OnAdminListDisplayHandler');
     UnRegisterModuleDependences('main', 'OnBeforeProlog', 'asd.iblock', 'CASDiblockAction', 'OnBeforePrologHandler');
     UnRegisterModuleDependences('main', 'OnAdminContextMenuShow', 'asd.iblock', 'CASDiblockInterface', 'OnAdminContextMenuShowHandler');
     UnRegisterModuleDependences('main', 'OnAdminTabControlBegin', 'asd.iblock', 'CASDiblockInterface', 'OnAdminTabControlBeginHandler');
     UnRegisterModuleDependences('iblock', 'OnAfterIBlockUpdate', 'asd.iblock', 'CASDiblockAction', 'OnAfterIBlockUpdateHandler');
     UnRegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'asd.iblock', 'CASDiblockPropCheckbox', 'GetUserTypeDescription');
     UnRegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'asd.iblock', 'CASDiblockPropCheckboxNum', 'GetUserTypeDescription');
     UnRegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'asd.iblock', 'CASDiblockPropPalette', 'GetUserTypeDescription');
     UnRegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'asd.iblock', 'CASDiblockPropSection', 'GetUserTypeDescription');
     DeleteDirFilesEx('/bitrix/js/asd.iblock/');
     DeleteDirFilesEx('/bitrix/panel/asd.iblock/');
     DeleteDirFilesEx('/bitrix/tools/asd.iblock/');
     UnRegisterModule('asd.iblock');
     $this->ShowForm('OK', GetMessage('MOD_UNINST_OK'));
 }
Exemplo n.º 26
0
	function DoUninstall()
	{
		UnRegisterModuleDependences("fileman", "OnBeforeHTMLEditorScriptsGet", $this->MODULE_ID,
		"BitrixUploadcare", "addEditorScriptsHandler" );
		UnRegisterModuleDependences("fileman", "OnIncludeHTMLEditorScript", $this->MODULE_ID,
		"BitrixUploadcare", "OnIncludeHTMLEditorHandler" );	
		
		UnRegisterModuleDependences("iblock", "OnIBlockPropertyBuildList", $this->MODULE_ID, 
		"CUserTypeUploadcare", "GetIBlockPropertyDescription");		
		UnRegisterModuleDependences("main", "OnUserTypeBuildList", $this->MODULE_ID, 
		"CUserTypeUploadcare", "GetUserTypeDescription");		
		
		DeleteDirFilesEx("/bitrix/admin/htmleditor2/uploadcare.js");
		DeleteDirFilesEx("/bitrix/images/fileman/htmledit2/uploadcare.png");
		DeleteDirFilesEx("/bitrix/admin/uploadcare_admin.php");
		DeleteDirFilesEx("/bitrix/tools/uploadcare/uploadcare-php");
		
		UnRegisterModule($this->MODULE_ID);
	}
Exemplo n.º 27
0
	function UnInstallFiles()
	{
		global $APPLICATION, $carrotquest_UPDATER;

		$carrotquest_UPDATER->RestoreAllTemplates();
		
		DeleteDirFilesEx("/bitrix/js/".$this->MODULE_ID."/");
		DeleteDirFilesEx("/bitrix/images/".$this->MODULE_ID."/");
		
		return true;
	}	
Exemplo n.º 28
0
				$NS["startPath"] = $DirScan->nextPath;
				$NS["cnt"] += $DirScan->FileCount;

				if ($r !== 'BREAK') // finish
				{
					$NS['arc_size'] = 0;
					$name = $NS["arc_name"];
					while(file_exists($name))
					{
						$size = filesize($name);
						$NS['arc_size'] += $size;
						if (IntOption("disk_space") > 0)
							CDiskQuota::updateDiskQuota("file", $size, "add");
						$name = CTar::getNextName($name);
					}
					DeleteDirFilesEx(BX_ROOT.'/backup/clouds');
					$NS["step"]++;
				}
			}
		}
		else
			$NS["step"]++;
	}

	// Step 5: Integrity check
	if($NS["step"] == 5)
	{
		if (IntOption('dump_integrity_check') || $NS['check_archive'])
		{
			if (haveTime())
			{
Exemplo n.º 29
0
 function UnInstallFiles()
 {
     if ($_ENV["COMPUTERNAME"] != 'BX') {
         DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/install/admin", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
         DeleteDirFilesEx("/bitrix/js/sale/");
         //javascript
         DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/install/themes/.default/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/.default");
         //css
         DeleteDirFilesEx("/bitrix/themes/.default/icons/sale/");
         //icons
         DeleteDirFilesEx("/bitrix/images/sale/");
         //images
         DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/install/tools/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/tools");
         //tools
         DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/install/services", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/services");
     }
     return true;
 }
Exemplo n.º 30
0
 function UnInstallFiles()
 {
     if ($_ENV["COMPUTERNAME"] != 'BX') {
         DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . "/bitrix/modules/catalog/install/admin", $_SERVER['DOCUMENT_ROOT'] . "/bitrix/admin");
         DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . "/bitrix/modules/catalog/install/themes/.default/", $_SERVER['DOCUMENT_ROOT'] . "/bitrix/themes/.default");
         //css
         DeleteDirFilesEx("/bitrix/themes/.default/icons/catalog/");
         //icons
         DeleteDirFilesEx("/bitrix/tools/catalog/");
         // scripts
         DeleteDirFilesEx("/bitrix/js/catalog/");
         //javascript
         DeleteDirFilesEx("/bitrix/panel/catalog/");
         //panel
     }
     return true;
 }