mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Missed a is_readable() call in local filestorage
This commit is contained in:
parent
fc72d4b10f
commit
ede2b8a55f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue