Do not check storage availability for getOwner

Because the owner is always known thanks to the file cache and other
places, we don't need the remote storage to be actually available.
This commit is contained in:
Vincent Petry 2015-12-09 17:31:14 +01:00
parent d86b4f34a5
commit 4b68dd372d
1 changed files with 0 additions and 1 deletions

View File

@ -399,7 +399,6 @@ class Availability extends Wrapper {
/** {@inheritdoc} */
public function getOwner($path) {
$this->checkAvailability();
try {
return parent::getOwner($path);
} catch (\OCP\Files\StorageNotAvailableException $e) {