Index: openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.1.0d1-5.1.0d2.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.1.0d1-5.1.0d2.sql,v diff -u -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.1.0d1-5.1.0d2.sql 7 May 2004 16:28:19 -0000 1.1.2.2 +++ openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.1.0d1-5.1.0d2.sql 26 May 2004 18:13:02 -0000 1.1.2.3 @@ -168,7 +168,7 @@ create or replace function file_storage__rename_file ( -- -- Rename a file and all - -- Wrapper to content_item__rename + -- Wrapper to content_item__edit_name -- integer, -- cr_items.item_id%TYPE, varchar -- cr_items.name%TYPE @@ -179,7 +179,7 @@ begin - return content_item__rename( + return content_item__edit_name( rename_file__file_id, -- item_id rename_file__name -- name );