From f503aea09999e55bb2e51e87fbdd769092a97501 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Wed, 18 Jul 2012 15:28:12 +0200 Subject: [PATCH] remove unused code from togglesubadmins.php --- settings/ajax/togglesubadmins.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/settings/ajax/togglesubadmins.php b/settings/ajax/togglesubadmins.php index 8e91af62c5..42db845030 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"]);