style fix

This commit is contained in:
Robin Appelman 2013-07-19 02:23:57 +02:00
parent 93750d2658
commit a945ce908b
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class ObjectTree extends \Sabre_DAV_ObjectTree {
throw new \Sabre_DAV_Exception_NotFound('File with name ' . $path . ' could not be located');
}
if ($info['mimetype'] == 'httpd/unix-directory') {
if ($info['mimetype'] === 'httpd/unix-directory') {
$node = new \OC_Connector_Sabre_Directory($path);
} else {
$node = new \OC_Connector_Sabre_File($path);