nextcloud/apps/files_external/lib/Service/ImportLegacyStoragesService.php
Côme Chilliet 7439b3db64 fix(files_external): Migrate call to now-deprecated static methods
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-05-18 14:11:38 +02:00

27 lines
477 B
PHP

<?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;
}
}