Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-02-27 22:00:22 +0400
committerMichael Gapczynski <mtgap@owncloud.com>2013-02-27 22:00:22 +0400
commit766a301a6b1832f98c30a09e0218a2e00925d401 (patch)
treee9d00cb20aedabb0f84b5f4e0ea4eefb627b1bf2 /lib/files/storage
parentf0a4506e40b7fc22f9ac89cc264c9f2267e4e61a (diff)
parent5b50bc8c0aaa294bc982deea626e6d1d303c1c23 (diff)
Merge pull request #1031 from owncloud/external_storage_ui_feedback
External Storage UI Improvements
Diffstat (limited to 'lib/files/storage')
-rw-r--r--lib/files/storage/common.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/files/storage/common.php b/lib/files/storage/common.php
index cb41d17e446..8aa227ec0b7 100644
--- a/lib/files/storage/common.php
+++ b/lib/files/storage/common.php
@@ -334,6 +334,13 @@ abstract class Common implements \OC\Files\Storage\Storage {
return implode('/', $output);
}
+ public function test() {
+ if ($this->stat('')) {
+ return true;
+ }
+ return false;
+ }
+
/**
* get the free space in the storage
*