source/Core/Module/ModuleInstaller.php
protected function _addToDisabledList($sModuleId)
    {
        $aDisabledModules = (array) \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aDisabledModules');

        $aModules = array_merge($aDisabledModules, [$sModuleId]);
        $aModules = array_unique($aModules);

        $this->_saveToConfig('aDisabledModules', $aModules, 'arr');
    }
protected function _addToDisabledList($sModuleId)
    {
        $aDisabledModules = (array) \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aDisabledModules');

        $aModules = array_merge($aDisabledModules, [$sModuleId]);
        $aModules = array_unique($aModules);

        $this->_saveToConfig('aDisabledModules', $aModules, 'arr');
    }
protected function _addToDisabledList ( $ sModuleId ) { $ aDisabledModules = ( array ) \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'aDisabledModules' ) ; $ aModules = array_merge ( $ aDisabledModules , [ $ sModuleId ] ) ; $ aModules = array_unique ( $ aModules ) ; $ this -> _saveToConfig ( 'aDisabledModules' , $ aModules , 'arr' ) ; }
Add module to disable list

@param string $sModuleId Module id
Add module to disable list