Allow deleting system default groups.

This commit is contained in:
markjcrane 2016-03-31 11:01:39 -06:00
parent 34ab9676bb
commit a4005f46e3
1 changed files with 3 additions and 1 deletions

View File

@ -74,7 +74,9 @@ require_once "resources/require.php";
$prep_statement->execute(); $prep_statement->execute();
$groups = $prep_statement->fetchAll(PDO::FETCH_NAMED); $groups = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset($sql, $prep_statement); unset($sql, $prep_statement);
$system_groups = array('superadmin','admin','user','public','agent'); //$system_groups = array('superadmin','admin','user','public','agent');
$system_groups = array();
//get group counts //get group counts
$sql = "select group_uuid, count(user_uuid) as group_count from v_group_users "; $sql = "select group_uuid, count(user_uuid) as group_count from v_group_users ";