From 4b68dd372dec249119721c1d250c170018f566e5 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 9 Dec 2015 17:31:14 +0100 Subject: [PATCH] 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. --- lib/private/files/storage/wrapper/availability.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/private/files/storage/wrapper/availability.php b/lib/private/files/storage/wrapper/availability.php index d6ce78f6e4..d2fbbbacf7 100644 --- a/lib/private/files/storage/wrapper/availability.php +++ b/lib/private/files/storage/wrapper/availability.php @@ -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) {