From 426c0341ffff262f58d1b7f031de4f0c53c8bec5 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Wed, 5 Apr 2023 12:50:08 +0200 Subject: Use typed version of IConfig::getSystemValue as much as possible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/Support/Subscription/Registry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Support') diff --git a/lib/private/Support/Subscription/Registry.php b/lib/private/Support/Subscription/Registry.php index 7aafa539a0b..eba76ca103e 100644 --- a/lib/private/Support/Subscription/Registry.php +++ b/lib/private/Support/Subscription/Registry.php @@ -176,7 +176,7 @@ class Registry implements IRegistry { } $userCount = $this->getUserCount(); - $hardUserLimit = $this->config->getSystemValue('one-click-instance.user-limit', 50); + $hardUserLimit = $this->config->getSystemValueInt('one-click-instance.user-limit', 50); $userLimitReached = $userCount >= $hardUserLimit; if ($userLimitReached && $notificationManager instanceof IManager) { -- cgit v1.2.3