mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user