mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
N°9167 Remote extensions (from hub & designer) need a forced uninstallation
This commit is contained in:
@@ -145,9 +145,14 @@ class iTopExtension
|
||||
public function GetExtensionSourceLabel(): string
|
||||
{
|
||||
return match ($this->sSource) {
|
||||
iTopExtension::SOURCE_MANUAL => 'Local extensions folder',
|
||||
iTopExtension::SOURCE_REMOTE => (ITOP_APPLICATION == 'iTop') ? 'iTop Hub' : 'ITSM Designer',
|
||||
self::SOURCE_MANUAL => 'Local extensions folder',
|
||||
self::SOURCE_REMOTE => (ITOP_APPLICATION == 'iTop') ? 'iTop Hub' : 'ITSM Designer',
|
||||
default => '',
|
||||
};
|
||||
}
|
||||
|
||||
public function IsRemote(): string
|
||||
{
|
||||
return $this->sSource === self::SOURCE_REMOTE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user