Index: openacs-4/packages/logger/tcl/variable-procs.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/logger/tcl/variable-procs.xql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/logger/tcl/variable-procs.xql 5 Apr 2003 10:16:42 -0000 1.1
+++ openacs-4/packages/logger/tcl/variable-procs.xql 22 Apr 2003 09:25:40 -0000 1.2
@@ -4,11 +4,21 @@
- insert into logger_variables (variable_id, name, unit, type)
- values (:variable_id, :name, :unit, :type)
+ insert into logger_variables (variable_id, name, unit, type, package_id)
+ values (:variable_id, :name, :unit, :type, :package_id)
+
+
+ update logger_variables
+ set name = :name,
+ unit = :unit,
+ type = :type
+ where variable_id = :variable_id
+
+
+
delete from logger_variables