aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-06-10 18:47:36 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2013-06-10 18:47:36 +0200
commitc0b25a43752427df90c4a2e6564e8325d12ee4f4 (patch)
tree8fcc3cac52472ba4b4086e47b3cb5c073cdf242b /lib/files
parent073306eaa291435a84c86dfeefe8ec4597711b69 (diff)
downloadnextcloud-server-c0b25a43752427df90c4a2e6564e8325d12ee4f4.tar.gz
nextcloud-server-c0b25a43752427df90c4a2e6564e8325d12ee4f4.zip
[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.
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/cache/updater.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/files/cache/updater.php b/lib/files/cache/updater.php
index bf86596dfb3..de74f1634e2 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);