Index: openacs-4/packages/categories/tcl/categories-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/categories/tcl/categories-procs-postgresql.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/categories/tcl/categories-procs-postgresql.xql 27 Apr 2003 11:36:23 -0000 1.2 +++ openacs-4/packages/categories/tcl/categories-procs-postgresql.xql 19 May 2003 13:10:17 -0000 1.3 @@ -5,145 +5,102 @@ - FIX ME PLSQL -FIX ME PLSQL - - begin - :1 := category__new ( - category_id => :category_id, - locale => :locale, - name => :name, - description => :description, - tree_id => :tree_id, - parent_id => :parent_id, - creation_user => :user_id, - creation_ip => :creation_ip - ); - end; - + select category__new ( + :category_id, + :tree_id, + :locale, + :name, + :description, + :parent_id, + :deprecated_p, + current_timestamp, + :user_id, + :creation_ip + ) - FIX ME PLSQL -FIX ME PLSQL - - begin - category__new_translation ( - category_id => :category_id, - locale => :default_locale, - name => :name, - description => :description, - modifying_user => :user_id, - modifying_ip => :creation_ip - ); - end; - + select category__new_translation ( + :category_id, + :default_locale, + :name, + :description, + current_timestamp, + :user_id, + :creation_ip + ) - FIX ME PLSQL -FIX ME PLSQL - - begin - category__new_translation ( - category_id => :category_id, - locale => :locale, - name => :name, - description => :description, - modifying_user => :user_id, - modifying_ip => :modifying_ip - ); - end; - + select category__new_translation ( + :category_id, + :locale, + :name, + :description, + current_timestamp, + :user_id, + :modifying_ip + ) - FIX ME PLSQL -FIX ME PLSQL - - begin - category__edit ( - category_id => :category_id, - locale => :locale, - name => :name, - description => :description, - modifying_user => :user_id, - modifying_ip => :modifying_ip - ); - end; - + select category__edit ( + :category_id, + :locale, + :name, + :description, + current_timestamp, + :user_id, + :modifying_ip + ) - FIX ME PLSQL -FIX ME PLSQL - - begin - category__del ( :category_id ); - end; - + select category__del ( :category_id ) - FIX ME PLSQL -FIX ME PLSQL - - begin - category__change_parent ( - category_id => :category_id, - tree_id => :tree_id, - parent_id => :parent_id - ); - end; - + select category__change_parent ( + :category_id, + :tree_id, + :parent_id + ) - FIX ME PLSQL -FIX ME PLSQL - - begin - category__phase_in(:category_id); - end; - + select category__phase_in(:category_id) - FIX ME PLSQL -FIX ME PLSQL - - begin - category__phase_out(:category_id); - end; - + select category__phase_out(:category_id) - select acs_object__name(:object_id) + select acs_object__name(:object_id)