fix: Put back OC_App::getAppVersions in Server.php

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/51676/head
Côme Chilliet 9 months ago
parent 8caa1a70e9
commit 49cf5ba318
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
  1. 2
      lib/private/Server.php

@ -610,7 +610,7 @@ class Server extends ServerContainer implements IServerContainer {
$prefixClosure = function () use ($logQuery, $serverVersion): ?string {
if (!$logQuery) {
try {
$v = \OCP\Server::get(IAppManager::class)->getAppVersions();
$v = \OC_App::getAppVersions();
} catch (\Doctrine\DBAL\Exception $e) {
// Database service probably unavailable
// Probably related to https://github.com/nextcloud/server/issues/37424

Loading…
Cancel
Save