From 14c5d08a3f03920ac5372d0ca4eccf9faa0afab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 1 Aug 2012 22:38:27 +0200 Subject: [PATCH] reorder code for readability --- lib/appconfig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/appconfig.php b/lib/appconfig.php index f3038e0053..20fbb5313b 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{