summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));