aboutsummaryrefslogtreecommitdiffstats
path: root/lib/config.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-04-16 11:25:21 +0200
committerJakob Sack <kde@jakobsack.de>2011-04-16 11:25:21 +0200
commit177fd27382ca425594037389ada6f7fa3392ba04 (patch)
treedb2b8dc565f20ae41d6225fb9c0aee2af374f036 /lib/config.php
parentfc33094429a942c97fb098b6ecc2c6708f507603 (diff)
downloadnextcloud-server-177fd27382ca425594037389ada6f7fa3392ba04.tar.gz
nextcloud-server-177fd27382ca425594037389ada6f7fa3392ba04.zip
Make OC_CONFIG working again
Diffstat (limited to 'lib/config.php')
-rw-r--r--lib/config.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/config.php b/lib/config.php
index 1b7783403ca..ceea05c139b 100644
--- a/lib/config.php
+++ b/lib/config.php
@@ -126,8 +126,8 @@ class OC_CONFIG{
*
* Reads the config file and saves it to the cache
*/
- private static function readData( $key ){
- if( !self::$init ){
+ private static function readData(){
+ if( self::$init ){
return true;
}
@@ -155,7 +155,7 @@ class OC_CONFIG{
*
* Known flaws: Strings are not escaped properly
*/
- public static function writeData( $key ){
+ public static function writeData(){
// We need the serverroot path
global $SERVERROOT;