summaryrefslogtreecommitdiffstats
path: root/lib/private/files.php
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2015-09-24 18:23:10 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-28 11:46:54 +0200
commit027fb4e3fe44f3ca075c96258afe55438f98dd6c (patch)
treef09ab1ce63d5893e212fe27be2014207d5498fc9 /lib/private/files.php
parent28df7be3192560b1b3616b98a5a1f057410ebab0 (diff)
downloadnextcloud-server-027fb4e3fe44f3ca075c96258afe55438f98dd6c.tar.gz
nextcloud-server-027fb4e3fe44f3ca075c96258afe55438f98dd6c.zip
More corrections
Diffstat (limited to 'lib/private/files.php')
-rw-r--r--lib/private/files.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/files.php b/lib/private/files.php
index 21b3cd1d409..86ebf40cc57 100644
--- a/lib/private/files.php
+++ b/lib/private/files.php
@@ -151,12 +151,12 @@ class OC_Files {
$streamer->addFileFromStream($fh, basename($file), $fileSize);
fclose($fh);
} elseif (\OC\Files\Filesystem::is_dir($file)) {
- $streamer->addDirRecoursive($file);
+ $streamer->addDirRecursive($file);
}
}
} elseif ($getType === self::ZIP_DIR) {
$file = $dir . '/' . $files;
- $streamer->addDirRecoursive($file);
+ $streamer->addDirRecursive($file);
}
$streamer->finalize();
set_time_limit($executionTime);