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:
Josh 2025-08-18 11:20:16 -04:00 committed by GitHub
parent ccc7584b88
commit 7dbe1dfa81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {