Skip to content
Snippets Groups Projects
Commit b49e8cd0 authored by Thomas Müller's avatar Thomas Müller
Browse files

Update settings/ajax/removegroup.php

respect coding style
parent 16b3ffb5
No related branches found
No related tags found
No related merge requests found
<?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{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment