diff options
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 9b452f21ce1..e1dce286a2a 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -1012,7 +1012,7 @@ class Server extends ServerContainer implements IServerContainer { return $factory->getLDAPProvider(); }); $this->registerService(ILockingProvider::class, function (Server $c) { - $ini = $c->getIniWrapper(); + $ini = $c->get(IniGetWrapper::class); $config = $c->getConfig(); $ttl = $config->getSystemValue('filelocking.ttl', max(3600, $ini->getNumeric('max_execution_time'))); if ($config->getSystemValue('filelocking.enabled', true) or (defined('PHPUNIT_RUN') && PHPUNIT_RUN)) { @@ -1953,7 +1953,7 @@ class Server extends ServerContainer implements IServerContainer { * @deprecated */ public function getIniWrapper() { - return $this->query('IniWrapper'); + return $this->query(IniGetWrapper::class); } /** |