Commit f2b6e3059e27f442bfc85575455c20a6739ec612
1 parent
6ed186fe
Don't call updatePermissionLookup at DocumentCore time, wait for the
metadata version to be created in Document::createFromArray git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5294 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
3 additions
and
4 deletions
lib/documentmanagement/Document.inc
lib/documentmanagement/documentcore.inc.php
| ... | ... | @@ -215,10 +215,6 @@ class KTDocumentCore extends KTEntity { |
| 215 | 215 | $this->iPermissionObjectId = $oFolder->getPermissionObjectId(); |
| 216 | 216 | $res = parent::create(); |
| 217 | 217 | |
| 218 | - if ($res === true) { | |
| 219 | - KTPermissionUtil::updatePermissionLookup($this); | |
| 220 | - } | |
| 221 | - | |
| 222 | 218 | return $res; |
| 223 | 219 | } |
| 224 | 220 | // }}} | ... | ... |