Skip to content
Snippets Groups Projects
Commit c2a49b5c authored by Björn Schießle's avatar Björn Schießle
Browse files

the old path no longer exists after rename, update the parent folder instead

parent 8b3dd878
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment