mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-18 16:18:47 +02:00
Enablers for the current setup improvements
SVN:trunk[1150]
This commit is contained in:
@@ -523,6 +523,7 @@ abstract class MetaModel
|
||||
}
|
||||
else
|
||||
{
|
||||
// If the format changes here, do not forget to update the setup index page (detection of installed modules)
|
||||
return self::$m_sTablePrefix.$sTableRaw;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -269,6 +269,11 @@ table.formTable {
|
||||
|
||||
public static function AddModule($sFilePath, $sId, $aArgs)
|
||||
{
|
||||
if (!array_key_exists('itop_version', $aArgs))
|
||||
{
|
||||
// Assume 1.0.2
|
||||
$aArgs['itop_version'] = '1.0.2';
|
||||
}
|
||||
foreach (self::$m_aModuleArgs as $sArgName => $sArgDesc)
|
||||
{
|
||||
if (!array_key_exists($sArgName, $aArgs))
|
||||
|
||||
Reference in New Issue
Block a user