Index: openacs-4/packages/static-pages/tcl/static-pages-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/static-pages/tcl/static-pages-procs-postgresql.xql,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/static-pages/tcl/static-pages-procs-postgresql.xql 19 Oct 2001 02:11:55 -0000 1.7
+++ openacs-4/packages/static-pages/tcl/static-pages-procs-postgresql.xql 23 Oct 2001 18:53:36 -0000 1.8
@@ -25,16 +25,16 @@
select static_page__new_folder (
- NULL,
- :directory, -- name
+ NULL, -- folder_id
+ :directory, -- name
:directory, -- label
- 'Static pages folder', -- description
- :parent_folder_id, -- parent_id
- current_timestamp,
- NULL,
- NULL,
- NULL
- );
+ 'Static pages folder', -- description
+ :parent_folder_id, -- parent_id
+ current_timestamp, -- creation_date
+ NULL, -- creation_user
+ NULL, -- creation_ip
+ NULL -- context_id
+ );
@@ -53,7 +53,7 @@
select static_page__new(
:parent_folder_id, -- folder_id
- :file, -- filename
+ :sp_filename, -- filename
:page_title -- title
);
@@ -76,8 +76,6 @@
begin
perform static_page__delete_stale_items(:sync_session_id,:package_id);
--- delete from sp_extant_folders where session_id = :sync_session_id;
---
delete from sp_extant_files where session_id = :sync_session_id;
return null;
end;