summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_sharing/lib/updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php
index 503aef68483..a43ab2e2a0a 100644
--- a/apps/files_sharing/lib/updater.php
+++ b/apps/files_sharing/lib/updater.php
@@ -68,8 +68,8 @@ class Shared_Updater {
* @param array $params
*/
static public function renameHook($params) {
- self::correctFolders($params['oldpath']);
self::correctFolders($params['newpath']);
+ self::correctFolders(pathinfo($params['oldpath'], PATHINFO_DIRNAME));
}
/**