]> source.dussan.org Git - nextcloud-server.git/commitdiff
style fix
authorRobin Appelman <icewind@owncloud.com>
Fri, 19 Jul 2013 00:23:57 +0000 (02:23 +0200)
committerRobin Appelman <icewind@owncloud.com>
Fri, 19 Jul 2013 00:23:57 +0000 (02:23 +0200)
lib/connector/sabre/objecttree.php

index dbc8c452d1bdf2e744932ef4a0e112ba22568b74..c4ddcbecbb86e3f0ae6b0019f0d1ae5a52e259c1 100644 (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);