summaryrefslogtreecommitdiffstats
path: root/lib/config.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-06-14 01:11:49 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-06-14 01:20:41 +0200
commit00858efbe27be3e4e594a9eba40214f451188af5 (patch)
tree6ce17f3b931ae0b93a9c8bd7f525fa7d9b75a5f9 /lib/config.php
parentf863002e95e864939923e286ba18e7adfbb786e7 (diff)
downloadnextcloud-server-00858efbe27be3e4e594a9eba40214f451188af5.tar.gz
nextcloud-server-00858efbe27be3e4e594a9eba40214f451188af5.zip
store numbers as strings to prevent errors with numeric passwords
Diffstat (limited to 'lib/config.php')
-rw-r--r--lib/config.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/config.php b/lib/config.php
index 60c6739a3fe..cd18ddd499c 100644
--- a/lib/config.php
+++ b/lib/config.php
@@ -169,9 +169,6 @@ class OC_CONFIG{
$value = $value ? 'true' : 'false';
$content .= "\"$key\" => $value,\n";
}
- elseif( is_numeric( $value )){
- $content .= "\"$key\" => $value,\n";
- }
else{
$value = str_replace( "'", "\\'", $value );
$content .= "\"$key\" => '$value',\n";