mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°8763 Fix non-uninstallable check in multi-modules extensions
This commit is contained in:
@@ -135,8 +135,9 @@ class iTopExtension
|
|||||||
return $this->bCanBeUninstalled;
|
return $this->bCanBeUninstalled;
|
||||||
}
|
}
|
||||||
foreach ($this->aModuleInfo as $sModuleCode => $aModuleInfo) {
|
foreach ($this->aModuleInfo as $sModuleCode => $aModuleInfo) {
|
||||||
$this->bCanBeUninstalled = $aModuleInfo['uninstallable'] === 'yes';
|
if ($aModuleInfo['uninstallable'] !== 'yes') {
|
||||||
return $this->bCanBeUninstalled;
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user