diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-04 12:49:50 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-04 12:49:50 +0300 |
commit | b49e8cd04d77c4b9ed139cb85ca002d551214943 (patch) | |
tree | ffad46f63557df92cfa1c1b71860acc5a33ac332 /settings | |
parent | 16b3ffb5888b8eda6f2f42902df1f441fcbb7609 (diff) | |
download | nextcloud-server-b49e8cd04d77c4b9ed139cb85ca002d551214943.tar.gz nextcloud-server-b49e8cd04d77c4b9ed139cb85ca002d551214943.zip |
Update settings/ajax/removegroup.php
respect coding style
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/removegroup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/removegroup.php b/settings/ajax/removegroup.php index f8c2065956c..cd1b8faf263 100644 --- a/settings/ajax/removegroup.php +++ b/settings/ajax/removegroup.php @@ -1,7 +1,7 @@ <?php // Init owncloud -require_once('../../lib/base.php'); +require_once '../../lib/base.php'; OC_JSON::checkAdminUser(); OCP\JSON::callCheck(); @@ -9,7 +9,7 @@ OCP\JSON::callCheck(); $name = $_POST["groupname"]; // Return Success story -if( OC_Group::deleteGroup( $name )){ +if( OC_Group::deleteGroup( $name )) { OC_JSON::success(array("data" => array( "groupname" => $name ))); } else{ |