bugfix: iTop Hub compatibility repaired

the new abstract classes used by admin menu management broke iTop hub installer

SVN:trunk[5694]
This commit is contained in:
Bruno Da Silva
2018-04-18 15:27:22 +00:00
parent 5d6ec4ce56
commit 381a988f43

View File

@@ -1231,6 +1231,12 @@ class RunTimeEnvironment
$fStart = microtime(true);
foreach(MetaModel::GetClasses() as $sClass)
{
if (false == MetaModel::HasTable($sClass) && MetaModel::IsAbstract($sClass))
{
//if a class is not persisted and is abstract, the code below would crash. Needed by the class AbstractRessource. This is tolerable to skip this because we check the setup process integrity, not the datamodel integrity.
continue;
}
$oSearch = new DBObjectSearch($sClass);
$oSearch->SetShowObsoleteData(false);
$oSQLQuery = $oSearch->GetSQLQueryStructure(null, false);