summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax')
-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"]);