Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2012-08-02 00:38:27 +0400
committerJörn Friedrich Dreyer <jfd@butonic.de>2012-08-02 00:38:27 +0400
commit14c5d08a3f03920ac5372d0ca4eccf9faa0afab4 (patch)
treef63f57c2c0ba5dc4caa59e98f99a0f37dc8dd9e2 /lib/appconfig.php
parent417bebd9b77712909c0ab207cdde1dce6cfe9744 (diff)
reorder code for readability
Diffstat (limited to 'lib/appconfig.php')
-rw-r--r--lib/appconfig.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/appconfig.php b/lib/appconfig.php
index f3038e00532..20fbb5313b8 100644
--- a/lib/appconfig.php
+++ b/lib/appconfig.php
@@ -174,12 +174,12 @@ class OC_Appconfig{
if($app!==false and $key!==false){
return false;
}
- $where='WHERE';
$fields='`configvalue`';
+ $where='WHERE';
$params=array();
if($app!==false){
- $where.=' `appid` = ?';
$fields.=', `configkey`';
+ $where.=' `appid` = ?';
$params[]=$app;
$key='configkey';
}else{