method groupDelete documentation in bbn\User\Manager
function(string $id)
{
$g = $this->class_cfg['arch']['groups'];
if ($this->groupNumUsers($id)) {
/** @todo Error management */
throw new \Exception(X::_("Impossible to delete this group as it has users"));
}
return (bool)$this->db->delete(
$this->class_cfg['tables']['groups'], [
$g['id'] => $id
]
);
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions