瀏覽代碼

- Regression from previous fix: don't Reload an object before saving it !

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1663 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 年之前
父節點
當前提交
9bee9ab983
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      core/dbobject.class.php

+ 0 - 2
core/dbobject.class.php

@@ -1606,10 +1606,8 @@ abstract class DBObject
 			// if one call fails, the whole is considered as failed
 			if (!$bRet) $bSuccess = false;
 		}
-
 		if ($bSuccess)
 		{
-			$this->Reload(); // in case an action modified something (like an object pointed to by an ext key)
 			// Change state triggers...
 			$sClass = get_class($this);
 			$sClassList = implode("', '", MetaModel::EnumParentClasses($sClass, ENUM_PARENT_CLASSES_ALL));