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

github.com/nextcloud/backup.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Gazzard <ben@dartoxia.com>2022-03-06 00:52:34 +0300
committerBen Gazzard <ben@dartoxia.com>2022-03-06 00:57:37 +0300
commita789cc6c5af506f4a4a128cdd779afe1ffb27ad3 (patch)
tree41199a206bc369e5d791dc790d4f5ccfd1bfb6dc /lib
parent94bac30e6f0c05418226477bea186a2119d65419 (diff)
Provide missing metadataService for point download
Addresses #203 Signed-off-by: Ben Gazzard <ben@dartoxia.com>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Command/PointDownload.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Command/PointDownload.php b/lib/Command/PointDownload.php
index 2ad994c..267de5d 100755
--- a/lib/Command/PointDownload.php
+++ b/lib/Command/PointDownload.php
@@ -50,6 +50,7 @@ use OCA\Backup\Model\RestoringPoint;
use OCA\Backup\Service\ChunkService;
use OCA\Backup\Service\ConfigService;
use OCA\Backup\Service\ExternalFolderService;
+use OCA\Backup\Service\MetadataService;
use OCA\Backup\Service\OutputService;
use OCA\Backup\Service\PackService;
use OCA\Backup\Service\PointService;
@@ -99,6 +100,9 @@ class PointDownload extends Base {
/** @var ConfigService */
private $configService;
+
+ /** @var MetadataService */
+ private $metadataService;
/**
@@ -113,6 +117,7 @@ class PointDownload extends Base {
* @param ExternalFolderService $externalFolderService
* @param OutputService $outputService
* @param ConfigService $configService
+ * @param MetadataService $metadataService
*/
public function __construct(
PointRequest $pointRequest,
@@ -123,7 +128,8 @@ class PointDownload extends Base {
RemoteService $remoteService,
ExternalFolderService $externalFolderService,
OutputService $outputService,
- ConfigService $configService
+ ConfigService $configService,
+ MetadataService $metadataService
) {
parent::__construct();
@@ -136,6 +142,7 @@ class PointDownload extends Base {
$this->externalFolderService = $externalFolderService;
$this->outputService = $outputService;
$this->configService = $configService;
+ $this->metadataService = $metadataService;
}