From 00858efbe27be3e4e594a9eba40214f451188af5 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind1991@gmail.com>
Date: Tue, 14 Jun 2011 01:11:49 +0200
Subject: [PATCH] store numbers as strings to prevent errors with numeric
 passwords

---
 lib/config.php | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/config.php b/lib/config.php
index 60c6739a3f..cd18ddd499 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";
-- 
GitLab