From 0cf73a2681be4d42deba675846901a98a3e6bafc Mon Sep 17 00:00:00 2001 From: nbm Date: Fri, 28 Apr 2006 14:01:18 +0000 Subject: [PATCH] Clear document and folder caches after a folder rename, since it doesn't go through the entity layer. --- lib/foldermanagement/folderutil.inc.php | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/lib/foldermanagement/folderutil.inc.php b/lib/foldermanagement/folderutil.inc.php index ecbaee0..a9cfe86 100644 --- a/lib/foldermanagement/folderutil.inc.php +++ b/lib/foldermanagement/folderutil.inc.php @@ -208,6 +208,9 @@ class KTFolderUtil { $oFolder->setName($sNewName); $res = $oFolder->update(); + Document::clearAllCaches(); + Folder::clearAllCaches(); + return $res; } -- libgit2 0.21.4