Skip stray part files during initial encryption

remotes/origin/create-share-target-reuse
Vincent Petry 10 years ago
parent fa9834372d
commit 7c3c26ab94
  1. 4
      apps/files_encryption/lib/util.php

@ -279,6 +279,10 @@ class Util {
while (false !== ($file = readdir($handle))) {
if ($file !== "." && $file !== "..") {
// skip stray part files
if (Helper::isPartialFilePath($file)) {
continue;
}
$filePath = $directory . '/' . $this->view->getRelativePath('/' . $file);
$relPath = Helper::stripUserFilesPath($filePath);

Loading…
Cancel
Save