diff --git a/lib/response.php b/lib/response.php index 3765f509c184673c196246be765b00e0dc82e02f..9edae3603b279d5b25371b2f783d43de4f8bcc82 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));