Added rudimentary transport support to get_threaded_children
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / ignore.inc
CommitLineData
51ff3226 1<?php
2function ignore() {
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 = "fcknthck";
9 return false;
10 }
11 $q = "update nodes set external_link='session://ignore' where node_id='$node_id' and external_link='session://friend'";
12 $db->query($q);
13$_SESSION['ignore'][$ignore]=true;
14
15}
16?>
This page took 0.237818 seconds and 4 git commands to generate.