diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-04 12:31:28 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-04 12:31:28 +0300 |
commit | 8bea9f34e65207a0aaeddd294fe4a894d38bbaf0 (patch) | |
tree | 708b95af0f18c589a9f2ec5bf4c74a3c6d845bad /settings/ajax | |
parent | 7ab5256922f975c9528b599d70f5bf4d417863d0 (diff) | |
download | nextcloud-server-8bea9f34e65207a0aaeddd294fe4a894d38bbaf0.tar.gz nextcloud-server-8bea9f34e65207a0aaeddd294fe4a894d38bbaf0.zip |
Update settings/ajax/apps/ocs.php
respect coding style
Diffstat (limited to 'settings/ajax')
-rw-r--r-- | settings/ajax/apps/ocs.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/ajax/apps/ocs.php b/settings/ajax/apps/ocs.php index f68843fac31..1f3e3b3dfea 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; |