diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php index b8b9cd0812c5de428f76ca63162e07fd3917011e..658e14eaf9d37287e1b0ef03db294d2a3265909f 100644 --- a/lib/filestorage/local.php +++ b/lib/filestorage/local.php @@ -129,7 +129,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{ } public function getMimeType($path){ - if($this->is_readable($path)){ + if($this->isReadable($path)){ return OC_Helper::getMimeType($this->datadir.$path); }else{ return false;