diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-06-10 18:47:36 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-06-10 18:47:36 +0200 |
commit | c0b25a43752427df90c4a2e6564e8325d12ee4f4 (patch) | |
tree | 8fcc3cac52472ba4b4086e47b3cb5c073cdf242b /lib/files | |
parent | 073306eaa291435a84c86dfeefe8ec4597711b69 (diff) | |
download | nextcloud-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.php | 6 |
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); |