summaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-21 22:17:48 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-01-21 22:17:48 +0100
commita29f9f90ab77cd3d9f32df99d3e7ee72b154886f (patch)
treed1c6e861d85f0b520e629de793795fd2483fb77b /lib/app.php
parent3ed7d5d5215de51294cff53c0f9c30cfc2484a4f (diff)
downloadnextcloud-server-a29f9f90ab77cd3d9f32df99d3e7ee72b154886f.tar.gz
nextcloud-server-a29f9f90ab77cd3d9f32df99d3e7ee72b154886f.zip
Indentation
Diffstat (limited to 'lib/app.php')
-rw-r--r--lib/app.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/app.php b/lib/app.php
index 662af56d258..82cffc279f2 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -63,17 +63,17 @@ class OC_App{
if (!defined('DEBUG') || !DEBUG) {
if (is_null($types)
- && empty(OC_Util::$core_scripts)
- && empty(OC_Util::$core_styles)) {
+ && empty(OC_Util::$core_scripts)
+ && empty(OC_Util::$core_styles)) {
OC_Util::$core_scripts = OC_Util::$scripts;
- OC_Util::$scripts = array();
- OC_Util::$core_styles = OC_Util::$styles;
- OC_Util::$styles = array();
- }
+ OC_Util::$scripts = array();
+ OC_Util::$core_styles = OC_Util::$styles;
+ OC_Util::$styles = array();
}
- // return
- return true;
}
+ // return
+ return true;
+}
/**
* load a single app
@@ -299,7 +299,7 @@ class OC_App{
if(OC_Config::getValue('knowledgebaseenabled', true)==true) {
$settings = array(
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
@@ -519,16 +519,16 @@ class OC_App{
$forms=array();
switch($type) {
case 'settings':
- $source=self::$settingsForms;
- break;
+ $source=self::$settingsForms;
+ break;
case 'admin':
- $source=self::$adminForms;
- break;
+ $source=self::$adminForms;
+ break;
case 'personal':
- $source=self::$personalForms;
- break;
+ $source=self::$personalForms;
+ break;
default:
- return array();
+ return array();
}
foreach($source as $form) {
$forms[]=include $form;