aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppConfig.php
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2024-01-15 15:44:49 -0100
committerMaxence Lange <maxence@artificial-owl.com>2024-01-15 15:45:13 -0100
commit94fe48c99857fb685abc69e3dd7aad1446398573 (patch)
tree88fe2516712a2d8f5fe5e613561c7e376c7dde0d /lib/private/AppConfig.php
parent6daea857ab286aae98120bf7d1e1034aeaa44bca (diff)
downloadnextcloud-server-94fe48c99857fb685abc69e3dd7aad1446398573.tar.gz
nextcloud-server-94fe48c99857fb685abc69e3dd7aad1446398573.zip
small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/private/AppConfig.php')
-rw-r--r--lib/private/AppConfig.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php
index 94a8fae3081..e8192530c17 100644
--- a/lib/private/AppConfig.php
+++ b/lib/private/AppConfig.php
@@ -575,8 +575,8 @@ class AppConfig implements IAppConfig {
bool $lazy = false,
bool $sensitive = false
): bool {
- if ($value > 2147400000) {
- $this->logger->debug('You are trying to store an integer value around/above 2,147,483,647. This is a reminder that reaching this theoretical limit on 32 bits system will result to an exception.');
+ if ($value > 2000000000) {
+ $this->logger->debug('You are trying to store an integer value around/above 2,147,483,647. This is a reminder that reaching this theoretical limit on 32 bits system will throw an exception.');
}
return $this->setTypedValue(