Index: openacs-4/packages/file-storage/tcl/file-storage-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/tcl/file-storage-procs-postgresql.xql,v
diff -u -r1.50 -r1.51
--- openacs-4/packages/file-storage/tcl/file-storage-procs-postgresql.xql 21 Nov 2017 11:31:29 -0000 1.50
+++ openacs-4/packages/file-storage/tcl/file-storage-procs-postgresql.xql 15 Jun 2018 15:11:04 -0000 1.51
@@ -128,22 +128,6 @@
-
-
- select person__name(o.creation_user) as owner from
- acs_objects o where o.object_id = :item_id
-
-
-
-
-
- select site_node__url(node_id) as path1 from site_nodes
- where object_id = (select package_id
- from fs_root_folders where
- fs_root_folders.folder_id = :root_folder)
-
-
-
select lob
@@ -160,13 +144,6 @@
-
-
- select content_item__get_id ( :name, :folder_id, 'f' )
-
-
-
-
select file_storage__new_file (
@@ -251,26 +228,6 @@
-
-
- select content_revision__new (
- :title, -- title
- :description, -- description
- now(), -- publish_date
- :mime_type, -- mime_type
- null, -- ns_language
- :content_body, -- text
- :item_id, -- item_id
- null,
- now(), -- creation_date
- :creation_user, -- creation_user
- :creation_ip, -- creation_ip
- null,
- :package_id -- package_id
- )
-
-
-