From 12c388b0b02de8bccec72660602d8b4476161324 Mon Sep 17 00:00:00 2001 From: niekt0 Date: Wed, 23 Mar 2011 01:31:10 +0100 Subject: [PATCH] set_synapse_weight update --- wwwroot/backend/mysql/backend.inc | 2 +- wwwroot/inc/eventz/set_synapse_weight.inc | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 wwwroot/inc/eventz/set_synapse_weight.inc diff --git a/wwwroot/backend/mysql/backend.inc b/wwwroot/backend/mysql/backend.inc index bea0e50..dd0c4f7 100644 --- a/wwwroot/backend/mysql/backend.inc +++ b/wwwroot/backend/mysql/backend.inc @@ -345,7 +345,7 @@ function getKNeurons($user_id,$interval) { // XXX TODO -function setSynapseWeight($synapse_weightl) { +function setSynapse($src,$dst,$weight) { global $db,$node,$error,$error_messages; // XXX security fix diff --git a/wwwroot/inc/eventz/set_synapse_weight.inc b/wwwroot/inc/eventz/set_synapse_weight.inc new file mode 100644 index 0000000..80dabe6 --- /dev/null +++ b/wwwroot/inc/eventz/set_synapse_weight.inc @@ -0,0 +1,22 @@ + -- 2.30.2