You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/apps/files_external/lib/Service/ImportLegacyStoragesService...

28 lines
478 B

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
namespace OCA\Files_External\Service;
class ImportLegacyStoragesService extends LegacyStoragesService {
private $data;
public function setData($data) {
$this->data = $data;
}
/**
* Read legacy config data
*
* @return array list of mount configs
*/
#[\Override]
protected function readLegacyConfig() {
return $this->data;
}
}