diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-09 17:27:57 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-14 08:36:26 +0100 |
commit | d3ef967993d1e685e3311b073a8312c9dafdf214 (patch) | |
tree | ef4cba82e584d8238120a372901bf47db1104744 /lib/app.php | |
parent | 5c4a804ddb4942687d5b8495d1ede51873cd412b (diff) | |
download | nextcloud-server-d3ef967993d1e685e3311b073a8312c9dafdf214.tar.gz nextcloud-server-d3ef967993d1e685e3311b073a8312c9dafdf214.zip |
Fix indentation style
Diffstat (limited to 'lib/app.php')
-rw-r--r-- | lib/app.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/lib/app.php b/lib/app.php index 7eab1405781..fe381a57077 100644 --- a/lib/app.php +++ b/lib/app.php @@ -76,14 +76,14 @@ class OC_App{ && 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 true; + } /** * load a single app @@ -557,16 +557,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; @@ -694,15 +694,15 @@ class OC_App{ // OR $app['ocs_id'] == $remote['ocs_id'] ) { unset( $remoteApps[$key]); + } } } + $combinedApps = array_merge( $appList, $remoteApps ); + } else { + $combinedApps = $appList; } - $combinedApps = array_merge( $appList, $remoteApps ); - } else { - $combinedApps = $appList; - } - return $combinedApps; -} + return $combinedApps; + } /** * @brief: get a list of all apps on apps.owncloud.com |