From 8bea9f34e65207a0aaeddd294fe4a894d38bbaf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Tue, 4 Sep 2012 12:31:28 +0300
Subject: [PATCH] Update settings/ajax/apps/ocs.php

respect coding style
---
 settings/ajax/apps/ocs.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/settings/ajax/apps/ocs.php b/settings/ajax/apps/ocs.php
index f68843fac3..1f3e3b3dfe 100644
--- a/settings/ajax/apps/ocs.php
+++ b/settings/ajax/apps/ocs.php
@@ -7,13 +7,13 @@
  */
 
 // Init owncloud
-require_once('../../../lib/base.php');
+require_once '../../../lib/base.php';
 
 OC_JSON::checkAdminUser();
 
 $l = OC_L10N::get('core');
 
-if(OC_Config::getValue('appstoreenabled', true)==false){
+if(OC_Config::getValue('appstoreenabled', true)==false) {
 	OCP\JSON::success(array('type' => 'external', 'data' => array()));
 }
 
@@ -27,11 +27,11 @@ $apps=array();
 
 // apps from external repo via OCS
 $catagoryNames=OC_OCSClient::getCategories();
-if(is_array($catagoryNames)){
+if(is_array($catagoryNames)) {
 	$categories=array_keys($catagoryNames);
 	$page=0;
 	$filter='approved';
-	$externalApps=OC_OCSClient::getApplications($categories,$page,$filter);
+	$externalApps=OC_OCSClient::getApplications($categories, $page, $filter);
 	foreach($externalApps as $app){
 		// show only external apps that aren't enabled yet
 		$local=false;
-- 
GitLab