API: created a new api to flag messages as read
authorPetr Bena <benapetr@gmail.com>
Tue, 26 Aug 2014 13:06:12 +0000 (15:06 +0200)
committerMerlijn van Deen <valhallasw@arctus.nl>
Sat, 6 Sep 2014 21:26:40 +0000 (21:26 +0000)
commit2077a43b5a9660080fc7916c3128e877a41c13c9
tree423a4b662d8dfc3cd2f9b51a4173f30330aabce3
parent823e8c97e776d38a65214fcaed2d607082915279
API: created a new api to flag messages as read

New api is called "ClearHasMsg" and does nothing but erase a new message
flag from currently logged in user.

This is useful for tools that can read the new messages using some api, or some
other way (loading the text using different session, preload the text using a
buffer where it's unrevealed later if user actually did read it, or closed the
application before), so it can be useful in situations when you need to flag new
messages as read in a different time than that when you actually read them.

Bug: 64238
Change-Id: Ife575711c32bb8e3bcac789de4a6b37e1888d032
RELEASE-NOTES-1.24
includes/AutoLoader.php
includes/api/ApiClearHasMsg.php [new file with mode: 0644]
includes/api/ApiMain.php