public function group_create($data)
{
$data = $this->clean_data($data);
$values['name'] = MySQL::SQLValue($data['name']);
$table = $this->kga['server_prefix'] . "groups";
$result = $this->conn->InsertRow($table, $values);
if (!$result) {
$this->logLastError('group_create');
return false;
} else {
return $this->conn->GetLastInsertID();
}
}