]> source.dussan.org Git - nextcloud-server.git/commitdiff
reorder code for readability
authorJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 1 Aug 2012 20:38:27 +0000 (22:38 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 1 Aug 2012 20:38:27 +0000 (22:38 +0200)
lib/appconfig.php

index f3038e005322af066d5ba0e0f77cf490eeeada11..20fbb5313b8bded59f3296fc480d8cb1acc2aa38 100644 (file)
@@ -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{