diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-21 00:13:16 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-21 00:13:16 +0200 |
commit | 1901ac8b17c99eef3ccd99edf877fd0a86737d17 (patch) | |
tree | 72543ef7d5523cbc90408548b696053aac031c10 /lib/files.php | |
parent | cfa036eaa916c1adf38fb161a16c50cd050c0a3b (diff) | |
download | nextcloud-server-1901ac8b17c99eef3ccd99edf877fd0a86737d17.tar.gz nextcloud-server-1901ac8b17c99eef3ccd99edf877fd0a86737d17.zip |
drop depricated is_readable and is_writable
Diffstat (limited to 'lib/files.php')
-rw-r--r-- | lib/files.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files.php b/lib/files.php index 28c8d0b449f..ba111bee967 100644 --- a/lib/files.php +++ b/lib/files.php @@ -178,7 +178,7 @@ class OC_Files { $filename=$dir.'/'.$files; } @ob_end_clean(); - if($zip or \OC\Files\Filesystem::is_readable($filename)) { + if($zip or \OC\Files\Filesystem::isReadable($filename)) { header('Content-Disposition: attachment; filename="'.basename($filename).'"'); header('Content-Transfer-Encoding: binary'); OC_Response::disableCaching(); |