Removed transport event... Do not need this anymore...
authorHarvie <tomas@mudrunka.cz>
Fri, 24 Dec 2010 02:18:08 +0000 (03:18 +0100)
committerHarvie <tomas@mudrunka.cz>
Fri, 24 Dec 2010 02:18:08 +0000 (03:18 +0100)
wwwroot/inc/eventz/transport.inc [deleted file]

diff --git a/wwwroot/inc/eventz/transport.inc b/wwwroot/inc/eventz/transport.inc
deleted file mode 100644 (file)
index 79f4218..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-//Zatim jen test, je tu hromada SQLi, etc...
-//Problem je v tom, ze kybca jentak nezobrazi hardlink pokud prislusna noda neexistuje lokalne...
-
-die('Transport not ready yet! :-(');
-function transport() {
-/*php > print_r(preg_split('/[:@]/','kyberia.sk:23456@lol'));
-Array
-(
-    [0] => kyberia.sk
-    [1] => 23456
-    [2] => domena.tld
-)
-*/
-
-$nodeshell_id=$_POST['nodeshell_id'];
-
-$transport = preg_split('/[:@]/',$nodeshell_id);
-$nodeshell_id=$chosen;
-$chosen=$transport[1];
-if(isset($transport[2])) $domain=$transport[2];
-$transport=$transport[0];
-
-       global $error_messages,$db,$node,$error;
-       $user_id = $_SESSION['user_id'];
-
-       $nodeshell = nodes::getNodeById($nodeshell_id,UBIK_ID);
-       //$nodeshell_permissions = permissions::checkPermissions($nodeshell);
-       $nodeshell_vector = $nodeshell['node_vector'];
-
-               $dst_vector = $nodeshell_vector.str_pad($chosen,VECTOR_CHARS,0,STR_PAD_LEFT);
-               $q = "update neurons set synapse_created=NOW(),link='hard',synapse=synapse+1,
-dst_vector='$dst_vector' where src='$chosen' and dst='$nodeshell_id'";
-               $result=$db->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,transport='$transport'");
-
-               $db->query("update nodes set lastdescendant_created=NOW() where node_id='$nodeshell_id'");
-}
-?>
This page took 0.138574 seconds and 4 git commands to generate.