source/Core/Module/ModuleInstaller.php
public function deactivate(\OxidEsales\Eshop\Core\Module\Module $module)
    {
        $result = false;
        if ($moduleId = $module->getId()) {
            $this->_callEvent('onDeactivate', $moduleId);

            $this->_addToDisabledList($moduleId);

            //removing recoverable options
            $this->_deleteBlock($moduleId);
            $this->_deleteTemplateFiles($moduleId);
            $this->_deleteModuleFiles($moduleId);
            $this->_deleteModuleEvents($moduleId);
            $this->_deleteModuleVersions($moduleId);
            $this->deleteModuleControllers($moduleId);
            $this->deleteModuleSmartyPluginDirectories($moduleId);

            $this->deactivateShopAwareServices($module);

            $this->resetCache();

            $result = true;
        }

        return $result;
    }
public function deactivate(\OxidEsales\Eshop\Core\Module\Module $module)
    {
        $result = false;
        if ($moduleId = $module->getId()) {
            $this->_callEvent('onDeactivate', $moduleId);

            $this->_addToDisabledList($moduleId);

            //removing recoverable options
            $this->_deleteBlock($moduleId);
            $this->_deleteTemplateFiles($moduleId);
            $this->_deleteModuleFiles($moduleId);
            $this->_deleteModuleEvents($moduleId);
            $this->_deleteModuleVersions($moduleId);
            $this->deleteModuleControllers($moduleId);
            $this->deleteModuleSmartyPluginDirectories($moduleId);

            $this->deactivateShopAwareServices($module);

            $this->resetCache();

            $result = true;
        }

        return $result;
    }
public function deactivate ( \ OxidEsales \ Eshop \ Core \ Module \ Module $ module ) { $ result = false ; if ( $ moduleId = $ module -> getId ( ) ) { $ this -> _callEvent ( 'onDeactivate' , $ moduleId ) ; $ this -> _addToDisabledList ( $ moduleId ) ; //removing recoverable options $ this -> _deleteBlock ( $ moduleId ) ; $ this -> _deleteTemplateFiles ( $ moduleId ) ; $ this -> _deleteModuleFiles ( $ moduleId ) ; $ this -> _deleteModuleEvents ( $ moduleId ) ; $ this -> _deleteModuleVersions ( $ moduleId ) ; $ this -> deleteModuleControllers ( $ moduleId ) ; $ this -> deleteModuleSmartyPluginDirectories ( $ moduleId ) ; $ this -> deactivateShopAwareServices ( $ module ) ; $ this -> resetCache ( ) ; $ result = true ; } return $ result ; }
Deactivate extension by adding disable module class information to disabled module array

@param \OxidEsales\Eshop\Core\Module\Module $module

@return bool
Deactivate extension by adding disable module class information to disabled module array