get_image_link fix
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / unignore.inc
CommitLineData
51ff3226 1<?php
2function 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
12external_link='session://ignore'";
13 $db->query($q);
14
15$_SESSION['ignore'][$ignore]=false;
16
17}
18?>
This page took 0.989813 seconds and 4 git commands to generate.