mirror of
https://github.com/nextcloud/server.git
synced 2024-07-30 20:16:04 +02:00
the old path no longer exists after rename, update the parent folder instead
This commit is contained in:
parent
8b3dd87846
commit
c2a49b5c1f
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user