summaryrefslogtreecommitdiffstats
path: root/lib/response.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-02-17 21:35:31 +0100
committerBart Visscher <bartv@thisnet.nl>2012-02-17 22:07:13 +0100
commitf54c767d72b8380c181c218f378b25e5fbf75ce7 (patch)
treeca9471710ea04a8d6907995d1a5c16a423dce6df /lib/response.php
parentbcbebe390b2689de34f60d124d19c9154d531f5e (diff)
downloadnextcloud-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.php2
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));