X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Feventz%2Fput.inc;h=a688f5bd6146bfbff35b3c56c9edc144677e9353;hb=HEAD;hp=c4105d4b84816ffe056babc49c245dc9af38e5f4;hpb=51ff32267c4949bad6a8dddc502cbc01ed56edc8;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/eventz/put.inc b/wwwroot/inc/eventz/put.inc index c4105d4..a688f5b 100644 --- a/wwwroot/inc/eventz/put.inc +++ b/wwwroot/inc/eventz/put.inc @@ -1,33 +1,18 @@ update($q); - - if (!$result) $db->query("insert into neurons set synapse_creator='$user_id',synapse_created=NOW(), -src='$chosen',dst='$nodeshell_id',dst_vector='$dst_vector',link='hard',synapse=1"); - - $db->query("update nodes set lastdescendant_created=NOW() where node_id='$nodeshell_id'"); + nodes::putNode($chosen,$nodeshell_id); } } ?>