public function remove_from_group($group)
{
$group = UserGroup::get($group);
if ($group instanceof UserGroup) {
$group->remove($this->id);
EventLog::log(_t(' User %1$s: Removed from %2$s group.', array($this->username, $group->name)), 'notice', 'user', 'habari');
}
}