Merge remote-tracking branch 'origin/support/2.7' into support/3.0

# Conflicts:
#	setup/wizardsteps.class.inc.php
This commit is contained in:
Pierre Goiffon
2022-11-29 19:02:51 +01:00
2 changed files with 19 additions and 5 deletions

View File

@@ -1666,6 +1666,18 @@ JS
return array_key_exists('itsm-designer-connector', $aModules);
}
/**
* @param array $aModules List of available module codes
*
* @return bool true if the Hub connector is installed
*
* @since 2.7.8 3.0.3 3.1.0 N°5758 method creation
*/
public static function IsConnectableToITopHub($aModules)
{
return array_key_exists('itop-hub-connector', $aModules);
}
/**
* @param array $aModules Available modules with code as key and metadata array as values
* Same structure as the one returned by {@link \RunTimeEnvironment::AnalyzeInstallation}