]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update settings/ajax/removegroup.php
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 09:49:50 +0000 (12:49 +0300)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 09:49:50 +0000 (12:49 +0300)
respect coding style

settings/ajax/removegroup.php

index f8c2065956c8f677c4256badc34cbc73fce54f70..cd1b8faf2632fbd40d4626c9269cb2d77a6f739a 100644 (file)
@@ -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{