Indentation

This commit is contained in:
Lukas Reschke 2013-01-21 22:17:48 +01:00
parent 3ed7d5d521
commit a29f9f90ab
1 changed files with 16 additions and 16 deletions

View File

@ -63,17 +63,17 @@ class OC_App{
if (!defined('DEBUG') || !DEBUG) { if (!defined('DEBUG') || !DEBUG) {
if (is_null($types) if (is_null($types)
&& empty(OC_Util::$core_scripts) && empty(OC_Util::$core_scripts)
&& empty(OC_Util::$core_styles)) { && empty(OC_Util::$core_styles)) {
OC_Util::$core_scripts = OC_Util::$scripts; OC_Util::$core_scripts = OC_Util::$scripts;
OC_Util::$scripts = array(); OC_Util::$scripts = array();
OC_Util::$core_styles = OC_Util::$styles; OC_Util::$core_styles = OC_Util::$styles;
OC_Util::$styles = array(); OC_Util::$styles = array();
}
} }
// return
return true;
} }
// return
return true;
}
/** /**
* load a single app * load a single app
@ -299,7 +299,7 @@ class OC_App{
if(OC_Config::getValue('knowledgebaseenabled', true)==true) { if(OC_Config::getValue('knowledgebaseenabled', true)==true) {
$settings = array( $settings = array(
array( "id" => "help", "order" => 1000, "href" => OC_Helper::linkToRoute( "settings_help" ), "name" => $l->t("Help"), "icon" => OC_Helper::imagePath( "settings", "help.svg" )) array( "id" => "help", "order" => 1000, "href" => OC_Helper::linkToRoute( "settings_help" ), "name" => $l->t("Help"), "icon" => OC_Helper::imagePath( "settings", "help.svg" ))
); );
} }
// if the user is logged-in // if the user is logged-in
@ -519,16 +519,16 @@ class OC_App{
$forms=array(); $forms=array();
switch($type) { switch($type) {
case 'settings': case 'settings':
$source=self::$settingsForms; $source=self::$settingsForms;
break; break;
case 'admin': case 'admin':
$source=self::$adminForms; $source=self::$adminForms;
break; break;
case 'personal': case 'personal':
$source=self::$personalForms; $source=self::$personalForms;
break; break;
default: default:
return array(); return array();
} }
foreach($source as $form) { foreach($source as $form) {
$forms[]=include $form; $forms[]=include $form;