|
|
@ -1116,6 +1116,9 @@ class Aauth { |
|
|
|
$this->aauth_db->where('group_id', $group_id); |
|
|
|
$this->aauth_db->where('group_id', $group_id); |
|
|
|
$this->aauth_db->delete($this->config_vars['user_to_group']); |
|
|
|
$this->aauth_db->delete($this->config_vars['user_to_group']); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->aauth_db->where('group_id', $group_id); |
|
|
|
|
|
|
|
$this->aauth_db->delete($this->config_vars['perm_to_group']); |
|
|
|
|
|
|
|
|
|
|
|
$this->aauth_db->where('id', $group_id); |
|
|
|
$this->aauth_db->where('id', $group_id); |
|
|
|
return $this->aauth_db->delete($this->config_vars['groups']); |
|
|
|
return $this->aauth_db->delete($this->config_vars['groups']); |
|
|
|
} |
|
|
|
} |
|
|
@ -1334,7 +1337,7 @@ class Aauth { |
|
|
|
|
|
|
|
|
|
|
|
// deletes from perm_to_user table |
|
|
|
// deletes from perm_to_user table |
|
|
|
$this->aauth_db->where('perm_id', $perm_id); |
|
|
|
$this->aauth_db->where('perm_id', $perm_id); |
|
|
|
$this->aauth_db->delete($this->config_vars['perm_to_group']); |
|
|
|
$this->aauth_db->delete($this->config_vars['perm_to_user']); |
|
|
|
|
|
|
|
|
|
|
|
// deletes from permission table |
|
|
|
// deletes from permission table |
|
|
|
$this->aauth_db->where('id', $perm_id); |
|
|
|
$this->aauth_db->where('id', $perm_id); |
|
|
|