summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/filestorage/local.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index b8b9cd0812c..658e14eaf9d 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;