mirror of
https://github.com/nextcloud/server.git
synced 2026-06-15 11:41:20 -04:00
chore: drop unused remote_ dynamic resolver
Endpoints are all hardcoded since 7bdde98617 and were formally deprecated within info.xml in nextcloud/appstore#156.
Follow-up PR will clean-up references elsewhere.
Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
ccc7584b88
commit
7dbe1dfa81
1 changed files with 2 additions and 5 deletions
|
|
@ -38,11 +38,8 @@ function resolveService(string $service): string {
|
|||
'files' => 'dav/appinfo/v1/webdav.php',
|
||||
'direct' => 'dav/appinfo/v2/direct.php',
|
||||
];
|
||||
if (isset($services[$service])) {
|
||||
return $services[$service];
|
||||
}
|
||||
|
||||
return Server::get(IConfig::class)->getAppValue('core', 'remote_' . $service);
|
||||
$file = $services[$service] ?? '';
|
||||
return $file;
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue