浏览代码

#251 Allow configuration managers to modify/delete Contacts

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@785 a333f486-631f-4898-b8df-5754b55c2be0
romainq 14 年之前
父节点
当前提交
753de81bc1
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      addons/userrights/userrightsprofile.class.inc.php

+ 0 - 3
addons/userrights/userrightsprofile.class.inc.php

@@ -831,9 +831,6 @@ class SetupProfiles
 		}
 		}
 		foreach ($aWriteableClasses as $sClass => $foo)
 		foreach ($aWriteableClasses as $sClass => $foo)
 		{
 		{
-			// Skip non instantiable classes
-			if (MetaModel::IsAbstract($sClass)) continue;
-
 			if (!MetaModel::IsValidClass($sClass))
 			if (!MetaModel::IsValidClass($sClass))
 			{
 			{
 				throw new CoreException("Invalid class name '$sClass'");
 				throw new CoreException("Invalid class name '$sClass'");