public function setSetting($name, $value)
{
//UNIQUE KEY `NewIndex1` (`clientid`,`key`),
$this->db->Execute("\n INSERT client_settings\n SET clientid=?,\n `key`=?,\n `value`=?\n ON DUPLICATE KEY UPDATE\n `value`=?\n ", array($this->id, $name, $value, $value));
return $this;
}