diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-05-13 15:31:11 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:59 +0200 |
commit | ec572607e136e5284991854db13b045632caafe6 (patch) | |
tree | be0974a3291ce9ada171846481b44d4bbac03780 /settings/ajax | |
parent | 7b63c2c0362a54218841d548c2cafb5bc417a0db (diff) | |
download | nextcloud-server-ec572607e136e5284991854db13b045632caafe6.tar.gz nextcloud-server-ec572607e136e5284991854db13b045632caafe6.zip |
remove group rename stuff, there is not support in the backends yet. to do for oc8.
Diffstat (limited to 'settings/ajax')
-rw-r--r-- | settings/ajax/changegroupname.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/settings/ajax/changegroupname.php b/settings/ajax/changegroupname.php deleted file mode 100644 index 9bb3c0af125..00000000000 --- a/settings/ajax/changegroupname.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -OCP\JSON::callCheck(); -OCP\JSON::checkLoggedIn(); -OCP\JSON::checkAdminUser(); - -$l=OC_L10N::get('settings'); - -$groupname = $_POST["groupname"]; - -// Return Success story -// TODO : make changes to the API to allow this. -// setGroupname doesnt exist yet. -if(OC_Group::setGroupname($groupname)) { - OCP\JSON::success( - array("data" => array( - "message" => $l->t('Group name has been changed.'), - "groupname" => $groupname, - ) - ) - ); -} else { - OCP\JSON::error(array("data" => array( "message" => $l->t("Unable to change group name")))); -} |