diff options
author | Joas Schilling <coding@schilljs.com> | 2021-12-01 18:41:31 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-12-01 18:41:31 +0100 |
commit | c0ba89ecc958574a16c8dfa322ecdade413ca277 (patch) | |
tree | 249a9c8b75bb886b10f6ee501078bdb6f88c494f /lib/private/Server.php | |
parent | 3a1ef2b012a903ee4e08483fd47afbd6fc111ca3 (diff) | |
download | nextcloud-server-c0ba89ecc958574a16c8dfa322ecdade413ca277.tar.gz nextcloud-server-c0ba89ecc958574a16c8dfa322ecdade413ca277.zip |
Remove default token which is deprecated since Nextcloud 13
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index baebbe7558d..92f0ef57f0f 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -522,11 +522,11 @@ class Server extends ServerContainer implements IServerContainer { $session = new \OC\Session\Memory(''); $timeFactory = new TimeFactory(); // Token providers might require a working database. This code - // might however be called when ownCloud is not yet setup. + // might however be called when Nextcloud is not yet setup. if (\OC::$server->get(SystemConfig::class)->getValue('installed', false)) { - $defaultTokenProvider = $c->get(IProvider::class); + $provider = $c->get(IProvider::class); } else { - $defaultTokenProvider = null; + $provider = null; } $legacyDispatcher = $c->get(SymfonyAdapter::class); @@ -535,7 +535,7 @@ class Server extends ServerContainer implements IServerContainer { $manager, $session, $timeFactory, - $defaultTokenProvider, + $provider, $c->get(\OCP\IConfig::class), $c->get(ISecureRandom::class), $c->getLockdownManager(), |