src/Neuron/GameServer/Mappers/ChatMapper.php
public function setPrivateChatUpdateRead (Neuron_GameServer_Player $from, Neuron_GameServer_Player $target)
	{
		$db = Neuron_DB_Database::getInstance ();
		
		$db->query
		("
			UPDATE
				n_privatechat_updates
			SET
				pu_read = '1'
			WHERE
				pu_to = {$target->getId ()} AND
				pu_from = {$from->getId ()}
		");
	}
public function setPrivateChatUpdateRead (Neuron_GameServer_Player $from, Neuron_GameServer_Player $target)
	{
		$db = Neuron_DB_Database::getInstance ();
		
		$db->query
		("
			UPDATE
				n_privatechat_updates
			SET
				pu_read = '1'
			WHERE
				pu_to = {$target->getId ()} AND
				pu_from = {$from->getId ()}
		");
	}
Set all messages to a certain player to "read"