Only folders have Create permission

remotes/origin/stable5
Michael Gapczynski 13 years ago
parent 7e36f730ec
commit b4515d874e
  1. 5
      lib/files/storage/common.php

@ -38,7 +38,10 @@ abstract class Common implements \OC\Files\Storage\Storage {
}
}
public function isCreatable($path) {
return $this->isUpdatable($path);
if ($this->is_dir($path) && $this->isUpdatable($path)) {
return true;
}
return false;
}
public function isDeletable($path) {
return $this->isUpdatable($path);

Loading…
Cancel
Save