get_image_link fix
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / set_as_read.inc
1 <?php
2 function 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.322029 seconds and 4 git commands to generate.