diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-02-27 10:00:22 -0800 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-02-27 10:00:22 -0800 |
commit | 766a301a6b1832f98c30a09e0218a2e00925d401 (patch) | |
tree | e9d00cb20aedabb0f84b5f4e0ea4eefb627b1bf2 /lib | |
parent | f0a4506e40b7fc22f9ac89cc264c9f2267e4e61a (diff) | |
parent | 5b50bc8c0aaa294bc982deea626e6d1d303c1c23 (diff) | |
download | nextcloud-server-766a301a6b1832f98c30a09e0218a2e00925d401.tar.gz nextcloud-server-766a301a6b1832f98c30a09e0218a2e00925d401.zip |
Merge pull request #1031 from owncloud/external_storage_ui_feedback
External Storage UI Improvements
Diffstat (limited to 'lib')
-rw-r--r-- | lib/files/storage/common.php | 7 |
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 * |