diff options
Diffstat (limited to 'lib/files')
-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 * |