Added rudimentary transport support to get_threaded_children
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / set_as_read.inc
CommitLineData
51ff3226 1<?php
2function set_as_read() {
3 global $db;
4 $user_id = $_SESSION['user_id'];
5 $forums = $_POST['bookmarks_chosen'];
6
7 foreach ($forums as $forum) {
8 $db->update("update node_access set node_user_subchild_count = '0',
9 last_visit = NOW() where node_id = '$forum' and user_id = '$user_id'");
10 }
11}
12?>
This page took 0.301745 seconds and 4 git commands to generate.