diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-12-09 17:31:14 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-12-09 17:31:14 +0100 |
commit | 4b68dd372dec249119721c1d250c170018f566e5 (patch) | |
tree | 717d4165a75cc5a41966c7e63e84fc97f7d53085 /lib/private/files/storage/wrapper | |
parent | d86b4f34a5f3c847ac43257d934cc3edd1c2d7d0 (diff) | |
download | nextcloud-server-4b68dd372dec249119721c1d250c170018f566e5.tar.gz nextcloud-server-4b68dd372dec249119721c1d250c170018f566e5.zip |
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.
Diffstat (limited to 'lib/private/files/storage/wrapper')
-rw-r--r-- | lib/private/files/storage/wrapper/availability.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/files/storage/wrapper/availability.php b/lib/private/files/storage/wrapper/availability.php index d6ce78f6e44..d2fbbbacf75 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) { |