Index: openacs-4/packages/file-storage/sql/postgresql/file-storage-package-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/postgresql/file-storage-package-create.sql,v
diff -u -r1.20 -r1.21
--- openacs-4/packages/file-storage/sql/postgresql/file-storage-package-create.sql	17 May 2004 15:15:13 -0000	1.20
+++ openacs-4/packages/file-storage/sql/postgresql/file-storage-package-create.sql	1 Jun 2004 22:54:18 -0000	1.21
@@ -239,7 +239,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
@@ -250,7 +250,7 @@
 
 begin
 
-        return content_item__rename(
+        return content_item__edit_name(
                rename_file__file_id,  -- item_id
                rename_file__name     -- name
                );
