get_image_link fix
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / unbook_multi.inc
CommitLineData
51ff3226 1<?php
2function unbook_multi() {
3
4global $db,$error,$node;
5$bookmarks=$_POST['bookmarks_chosen'];
6
7foreach ($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}
14return true;
15}
16?>
This page took 0.395846 seconds and 4 git commands to generate.