reorder code for readability

remotes/origin/stable45
Jörn Friedrich Dreyer 13 years ago
parent 417bebd9b7
commit 14c5d08a3f
  1. 4
      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{

Loading…
Cancel
Save