Commit 0cf73a2681be4d42deba675846901a98a3e6bafc
1 parent
7bd019a6
Clear document and folder caches after a folder rename, since it doesn't
go through the entity layer. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5369 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
0 deletions
lib/foldermanagement/folderutil.inc.php
| @@ -208,6 +208,9 @@ class KTFolderUtil { | @@ -208,6 +208,9 @@ class KTFolderUtil { | ||
| 208 | $oFolder->setName($sNewName); | 208 | $oFolder->setName($sNewName); |
| 209 | $res = $oFolder->update(); | 209 | $res = $oFolder->update(); |
| 210 | 210 | ||
| 211 | + Document::clearAllCaches(); | ||
| 212 | + Folder::clearAllCaches(); | ||
| 213 | + | ||
| 211 | return $res; | 214 | return $res; |
| 212 | } | 215 | } |
| 213 | 216 |