nextcloud/apps/files_external/lib/Service/ImportLegacyStoragesService.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
599 B
PHP
Raw Normal View History

2015-12-29 07:26:33 -05:00
<?php
2015-12-29 07:26:33 -05:00
/**
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
2015-12-29 07:26:33 -05:00
*/
2016-05-13 05:22:28 -04:00
namespace OCA\Files_External\Service;
2015-12-29 07:26:33 -05:00
class ImportLegacyStoragesService extends LegacyStoragesService {
private $data;
/**
* @param BackendService $backendService
*/
public function __construct(BackendService $backendService) {
$this->backendService = $backendService;
}
public function setData($data) {
$this->data = $data;
}
/**
* Read legacy config data
*
* @return array list of mount configs
*/
protected function readLegacyConfig() {
return $this->data;
}
}