function render() { # Controleer de users' rechten $this->_spotSec->fatalPermCheck(SpotSecurity::spotsec_mark_spots_asread, ''); # en update het user record $spotUserSystem = new SpotUserSystem($this->_db, $this->_settings); # clear the spotstate list als dit toegestaan is if ($this->_spotSec->allowed(SpotSecurity::spotsec_keep_own_seenlist, '')) { $this->_db->markAllAsRead($this->_currentSession['user']['userid']); } # if # we willen niet dat dit gecached wordt $this->sendExpireHeaders(true); # reset the lastvisit en lastread timestamp $spotUserSystem->resetReadStamp($this->_currentSession['user']); echo "<xml><return>ok</return></xml>"; }