aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorDaniel <mail@danielkesselberg.de>2023-12-27 21:57:30 +0100
committerGitHub <noreply@github.com>2023-12-27 21:57:30 +0100
commitb9b0ca6dea01477c6ba721a614df539b03d66817 (patch)
treea6e4b25a8a5cbba9f833a87d3c3f7a46a3c57cc1 /lib/private/Server.php
parent1fbfc4fc3e6a2c7b945419c88bc6e04f451d7099 (diff)
parent79c4986354da2c7dd102de21174114e7687daf98 (diff)
downloadnextcloud-server-b9b0ca6dea01477c6ba721a614df539b03d66817.tar.gz
nextcloud-server-b9b0ca6dea01477c6ba721a614df539b03d66817.zip
Merge pull request #41998 from nextcloud/enh/read-replica
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index d9bbc8625e9..acc66b9cb0a 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -843,8 +843,7 @@ class Server extends ServerContainer implements IServerContainer {
if (!$factory->isValidType($type)) {
throw new \OC\DatabaseException('Invalid database type');
}
- $connectionParams = $factory->createConnectionParams();
- $connection = $factory->getConnection($type, $connectionParams);
+ $connection = $factory->getConnection($type, []);
return $connection;
});
/** @deprecated 19.0.0 */