git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5961
91ce42f0-d328-0410-95d8-
f526ca767f89
$self->{dbh}->begin_work();
- my $query = "
+ $self->dbh_do("
DELETE FROM client_group_member
WHERE client_group_id IN
(SELECT client_group_id
FROM client_group
- WHERE client_group_name = $arg->{qclient_group});
+ WHERE client_group_name = $arg->{qclient_group})");
+ $self->dbh_do("
DELETE FROM bweb_client_group_acl
WHERE client_group_id IN
(SELECT client_group_id
FROM client_group
- WHERE client_group_name = $arg->{qclient_group});
+ WHERE client_group_name = $arg->{qclient_group})");
+ $self->dbh_do("
DELETE FROM client_group
- WHERE client_group_name = $arg->{qclient_group};
-";
- $self->dbh_do($query);
+ WHERE client_group_name = $arg->{qclient_group}");
$self->{dbh}->commit();
-
$self->display_groups();
}