Skip to content

Commit

Permalink
fix fixing extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
keywan-ghadami-oxid committed Nov 21, 2018
1 parent 05f5815 commit 30d9315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/FixHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ protected function removeExtendedClassesOfModule($aInstalledModules, $sModulePat
foreach ($aInstalledModules as $shopClassName => $mModuleClassNames) {
if (is_array($mModuleClassNames)) {
foreach ($mModuleClassNames as $sKey => $sModuleClassName) {
if ($this->getModule()->isMetadataVersionGreaterThen('2.0')) {
if ($this->getModule()->isMetadataVersionGreaterEqual('2.0')) {
$moduleNameSpace = $this->getModule()->getModuleNameSpace($sModulePath);
if (strlen($moduleNameSpace) && strpos($sModuleClassName, $moduleNameSpace) !== false) {
unset($aInstalledModules[ $shopClassName ][ $sKey ]);
Expand Down

0 comments on commit 30d9315

Please sign in to comment.