Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanilla-thunder/d9ee0dbaf219e4e995e4ffbc02ef371a to your computer and use it in GitHub Desktop.
Save vanilla-thunder/d9ee0dbaf219e4e995e4ffbc02ef371a to your computer and use it in GitHub Desktop.
remove class extension from oxid cached modules
<?php
$aExt = $cfg->getModulesWithExtendedClass();
unset($aExt["oxEmail"]);
$mod = oxNew("oxmoduleinstaller");
$aUpdatedExt = $mod->buildModuleChains($aExt);
$cfg->saveShopConfVar('aarr', 'aModules', $aUpdatedExt);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment