diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-02-17 21:35:31 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-02-17 22:07:13 +0100 |
commit | f54c767d72b8380c181c218f378b25e5fbf75ce7 (patch) | |
tree | ca9471710ea04a8d6907995d1a5c16a423dce6df /lib/response.php | |
parent | bcbebe390b2689de34f60d124d19c9154d531f5e (diff) | |
download | nextcloud-server-f54c767d72b8380c181c218f378b25e5fbf75ce7.tar.gz nextcloud-server-f54c767d72b8380c181c218f378b25e5fbf75ce7.zip |
Fix parameter of OC_Response::sendFile
Diffstat (limited to 'lib/response.php')
-rw-r--r-- | lib/response.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/response.php b/lib/response.php index 3765f509c18..9edae3603b2 100644 --- a/lib/response.php +++ b/lib/response.php @@ -146,7 +146,7 @@ class OC_Response { * @brief Send file as response, checking and setting caching headers * @param $filepath of file to send */ - static public function sendFile($filepath=null) { + static public function sendFile($filepath) { $fp = fopen($filepath, 'rb'); if ($fp) { self::setLastModifiedHeader(filemtime($filepath)); |