bizprocdesigner::DoUninstall: Bitrix method

      
<?php 
//  bizprocdesigner :: DoUninstall()
//  /dist/bitrix/modules/bizprocdesigner/install/index.php:127

    
function DoUninstall()
    {
        global 
$APPLICATION$step;
        
$step IntVal($step);
        if(
$step<2)
        {
            
$APPLICATION->IncludeAdminFile(Loc::getMessage("BIZPROC_INSTALL_TITLE"), $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/bizprocdesigner/install/unstep1.php");
        }
        elseif(
$step==2)
        {
            
$this->UnInstallFiles();
            
$this->UnInstallDB(false);
            
CBXFeatures::SetFeatureEnabled("BizProc"false);
            
$GLOBALS["errors"] = $this->errors;

            
$APPLICATION->IncludeAdminFile(Loc::getMessage("BIZPROC_INSTALL_TITLE"), $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/bizprocdesigner/install/unstep2.php");
        }
    }