X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Feventz%2Fput.inc;fp=wwwroot%2Finc%2Feventz%2Fput.inc;h=c4105d4b84816ffe056babc49c245dc9af38e5f4;hb=51ff32267c4949bad6a8dddc502cbc01ed56edc8;hp=0000000000000000000000000000000000000000;hpb=dcee763368a1e3f380d07320a5254d91a09304e6;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/eventz/put.inc b/wwwroot/inc/eventz/put.inc new file mode 100644 index 0000000..c4105d4 --- /dev/null +++ b/wwwroot/inc/eventz/put.inc @@ -0,0 +1,33 @@ +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'"); + } +} +?>