summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage/wrapper
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-12-09 17:31:14 +0100
committerVincent Petry <pvince81@owncloud.com>2015-12-09 17:31:14 +0100
commit4b68dd372dec249119721c1d250c170018f566e5 (patch)
tree717d4165a75cc5a41966c7e63e84fc97f7d53085 /lib/private/files/storage/wrapper
parentd86b4f34a5f3c847ac43257d934cc3edd1c2d7d0 (diff)
downloadnextcloud-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.php1
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) {