Skip to content
Snippets Groups Projects
Commit 7f57591e authored by Robin Appelman's avatar Robin Appelman
Browse files

suppress error when using is_dir on non directory in smb backend

parent aeed130b
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ class OC_FileStorage_SMB extends OC_FileStorage_StreamWrapper{
}
public function filetype($path){
return (bool)$this->opendir($path);//using opendir causes the same amount of requests and caches the content of the folder in one go
return (bool)@$this->opendir($path);//using opendir causes the same amount of requests and caches the content of the folder in one go
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment