4 global $db,$error,$node;
5 $q="update neurons set link='soft' where synapse_creator='".$_SESSION['user_id']."' and src='".$node['node_id']."' and link='bookmark'";
6 $result=$db->update($q);
8 $q="update node_access set last_visit='',node_bookmark='no' where user_id='".$_SESSION['user_id']."' and node_id='".$node['node_id']."'";
9 $result=$db->query($q);
11 logger::log('unbook','ok');
15 logger::log('unbook','failed');
16 $error='unbook failed';