summaryrefslogtreecommitdiffstats
path: root/lib/files.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-24 15:32:29 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-24 15:32:29 +0200
commit7b150dfa963d81889b8d40bf3956795c9a712aec (patch)
tree30b73d83b7e59791848480a741390060d60c7605 /lib/files.php
parent56c7ee799cb13f7a4db60663f60b76cdf223614b (diff)
parent41898a473e8ece37c92e709f685c90d7952d1694 (diff)
downloadnextcloud-server-7b150dfa963d81889b8d40bf3956795c9a712aec.tar.gz
nextcloud-server-7b150dfa963d81889b8d40bf3956795c9a712aec.zip
merge master into filesystem
Diffstat (limited to 'lib/files.php')
-rw-r--r--lib/files.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/files.php b/lib/files.php
index a5eec1f2a63..ff9befa89e5 100644
--- a/lib/files.php
+++ b/lib/files.php
@@ -141,8 +141,8 @@ class OC_Files {
/**
* return the content of a file or return a zip file containning multiply files
*
- * @param dir $dir
- * @param file $file ; seperated list of files to download
+ * @param string $dir
+ * @param string $file ; seperated list of files to download
* @param boolean $only_header ; boolean to only send header of the request
*/
public static function get($dir, $files, $only_header = false) {
@@ -162,7 +162,7 @@ class OC_Files {
foreach ($files as $file) {
$file = $dir . '/' . $file;
if (\OC\Files\Filesystem::is_file($file)) {
- $tmpFile = OC_F\OC\Files\Filesystemilesystem::toTmpFile($file);
+ $tmpFile = \OC\Files\Filesystem::toTmpFile($file);
self::$tmpFiles[] = $tmpFile;
$zip->addFile($tmpFile, basename($file));
} elseif (\OC\Files\Filesystem::is_dir($file)) {