Browse Source

Use the cached fileinfo to get creatable permissions

tags/v8.0.0alpha1
Robin Appelman 9 years ago
parent
commit
19de425a50
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/private/connector/sabre/directory.php

+ 1
- 1
lib/private/connector/sabre/directory.php View File

@@ -84,7 +84,7 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node
* @return void
*/
public function createDirectory($name) {
if (!$this->fileView->isCreatable($this->path)) {
if (!$this->info->isCreatable()) {
throw new \Sabre\DAV\Exception\Forbidden();
}


Loading…
Cancel
Save