diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php index b2bb6d706e..4cd25878ec 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; }