get_image_link fix
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / unbook_multi.inc
1 <?php
2 function unbook_multi() {
3
4 global $db,$error,$node;
5 $bookmarks=$_POST['bookmarks_chosen'];
6
7 foreach ($bookmarks as $chosen_id) {
8 $q="update neurons set link='soft' where synapse_creator='".$_SESSION['user_id']."' and src='".$chosen_id."' and link='bookmark'";
9 $db->update($q);
10
11 $q="update node_access set last_visit='',node_bookmark='no' where user_id='".$_SESSION['user_id']."' and node_id='".$chosen_id."'";
12 $db->query($q);
13 }
14 return true;
15 }
16 ?>
This page took 0.654671 seconds and 4 git commands to generate.