summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/ObjectStore/S3ConnectionTrait.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php
index b2bb6d706e0..4cd25878ec5 100644
--- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php
+++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php
@@ -65,6 +65,9 @@ trait S3ConnectionTrait {
$this->params = $params;
}
+ public function getBucket() {
+ return $this->bucket;
+ }
/**
* Returns the connection
@@ -72,7 +75,7 @@ trait S3ConnectionTrait {
* @return S3Client connected client
* @throws \Exception if connection could not be made
*/
- protected function getConnection() {
+ public function getConnection() {
if (!is_null($this->connection)) {
return $this->connection;
}