mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Support previous datamodels (profiles à la mode 1.2.x)
SVN:trunk[2167]
This commit is contained in:
@@ -69,12 +69,12 @@ class MFCompiler
|
||||
|
||||
// Determine the target module (exactly one!) for USER RIGHTS
|
||||
//
|
||||
$sUserRightsModule = '';
|
||||
$oUserRightsNode = $this->oFactory->GetNodes('user_rights')->item(0);
|
||||
if (!$oUserRightsNode)
|
||||
if ($oUserRightsNode)
|
||||
{
|
||||
throw new Exception("Missing configuration for user rights");
|
||||
$sUserRightsModule = $oUserRightsNode->getAttribute('_created_in');
|
||||
}
|
||||
$sUserRightsModule = $oUserRightsNode->getAttribute('_created_in');
|
||||
|
||||
// List root classes
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user