summaryrefslogtreecommitdiffstats
path: root/settings/ajax/togglesubadmins.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-07-18 15:28:12 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-07-18 15:28:12 +0200
commitf503aea09999e55bb2e51e87fbdd769092a97501 (patch)
tree26d7f63bb41d641e388b0eeb767589cda9f9a495 /settings/ajax/togglesubadmins.php
parent4490a884927c6d17e3a684500761d5cceaab128d (diff)
downloadnextcloud-server-f503aea09999e55bb2e51e87fbdd769092a97501.tar.gz
nextcloud-server-f503aea09999e55bb2e51e87fbdd769092a97501.zip
remove unused code from togglesubadmins.php
Diffstat (limited to 'settings/ajax/togglesubadmins.php')
-rw-r--r--settings/ajax/togglesubadmins.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/settings/ajax/togglesubadmins.php b/settings/ajax/togglesubadmins.php
index 8e91af62c5b..42db8450302 100644
--- a/settings/ajax/togglesubadmins.php
+++ b/settings/ajax/togglesubadmins.php
@@ -6,10 +6,6 @@ require_once('../../lib/base.php');
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
-$success = true;
-$error = "add user to";
-$action = "add";
-
$username = $_POST["username"];
$group = OC_Util::sanitizeHTML($_POST["group"]);