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

This commit is contained in:
Björn Schießle 2013-03-22 16:20:40 +01:00
parent 8b3dd87846
commit c2a49b5c1f
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
/**