summaryrefslogtreecommitdiffstats
path: root/lib/private/AppConfig.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-06-06 10:28:10 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-06-06 12:38:20 +0200
commit911fd3ead4e8ef3451aabc4b1f0cd1c7fc106e44 (patch)
tree2b1093f1beee5e871809628774859d997bc67b00 /lib/private/AppConfig.php
parentc0a91ddca797c9821d3ce8771664b17ee588535f (diff)
downloadnextcloud-server-911fd3ead4e8ef3451aabc4b1f0cd1c7fc106e44.tar.gz
nextcloud-server-911fd3ead4e8ef3451aabc4b1f0cd1c7fc106e44.zip
Do not allow to store boolean configs, they behave unexpected on postgres
Diffstat (limited to 'lib/private/AppConfig.php')
-rw-r--r--lib/private/AppConfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php
index 24542152ffc..f84c8a41f17 100644
--- a/lib/private/AppConfig.php
+++ b/lib/private/AppConfig.php
@@ -143,7 +143,7 @@ class AppConfig implements IAppConfig {
*
* @param string $app app
* @param string $key key
- * @param string $value value
+ * @param string|float|int $value value
* @return bool True if the value was inserted or updated, false if the value was the same
*/
public function setValue($app, $key, $value) {