]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove debug output, add comment
authorBjoern Schiessle <schiessle@owncloud.com>
Mon, 28 Oct 2013 11:00:48 +0000 (12:00 +0100)
committerBjoern Schiessle <schiessle@owncloud.com>
Mon, 28 Oct 2013 11:00:48 +0000 (12:00 +0100)
lib/files/cache/updater.php

index 0568fb91a3ecb53f54a10fcb46f8a5d36386fe43..329c5c563b9ff97b51453dd15e9ae999e1603b6f 100644 (file)
@@ -102,13 +102,10 @@ class Updater {
                        $id = $cache->getId($internalPath);
 
                        while ($id !== -1) {
-                               error_log("while loop: " . $id);
                                $cache->update($id, array('mtime' => $time, 'etag' => $storage->getETag($internalPath)));
                                //$id = $cache->getParentId($internalPath);
                                $internalPath = dirname($internalPath);
-                               //if ($internalPath === '.') {
-                               //      $internalPath = '';
-                               //}
+                               // check storage for parent in case we change the storage in this step
                                list($storage, $internalPath) = $view->resolvePath($internalPath);
                                $cache = $storage->getCache();
                                $id = $cache->getId($internalPath);