Added rudimentary transport support to get_threaded_children
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / unignore.inc
1 <?php
2 function unignore() {
3 global $error,$node,$db;
4 $node_id=$node['node_id'];
5 $ignore=$node['node_parent'];
6 $user_id=$_SESSION['user_id'];
7 if ($node['node_creator'] != $user_id) {
8 $error = "ta smola chlapce. ta na tento skutok prava nemas. ta polib mi prdel";
9 return false;
10 }
11 $q = "update nodes set external_link='' where node_id='$node_id' and
12 external_link='session://ignore'";
13 $db->query($q);
14
15 $_SESSION['ignore'][$ignore]=false;
16
17 }
18 ?>
This page took 1.487259 seconds and 4 git commands to generate.