From c0b25a43752427df90c4a2e6564e8325d12ee4f4 Mon Sep 17 00:00:00 2001
From: Thomas Mueller <thomas.mueller@tmit.eu>
Date: Mon, 10 Jun 2013 18:47:36 +0200
Subject: [PATCH] [Fixing Updater Unit Tests on Windows] using $internalPath
 within call to self::correctFolder() because $path inside of it is not
 processed properly due to directory separator on Windows.

---
 lib/files/cache/updater.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/files/cache/updater.php b/lib/files/cache/updater.php
index bf86596dfb..de74f1634e 100644
--- a/lib/files/cache/updater.php
+++ b/lib/files/cache/updater.php
@@ -60,7 +60,7 @@ class Updater {
 			$cache = $storage->getCache($internalPath);
 			$cache->remove($internalPath);
 			$cache->correctFolderSize($internalPath);
-			self::correctFolder($path, time());
+			self::correctFolder($internalPath, time());
 		}
 	}
 
@@ -85,8 +85,8 @@ class Updater {
 				$cache->move($internalFrom, $internalTo);
 				$cache->correctFolderSize($internalFrom);
 				$cache->correctFolderSize($internalTo);
-				self::correctFolder($from, time());
-				self::correctFolder($to, time());
+				self::correctFolder($internalFrom, time());
+				self::correctFolder($internalTo, time());
 			} else {
 				self::deleteUpdate($from);
 				self::writeUpdate($to);
-- 
GitLab