Index: openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-packages.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-packages.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-packages.sql	24 Jul 2001 13:50:17 -0000	1.5
+++ openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-packages.sql	29 Aug 2001 18:46:37 -0000	1.6
@@ -297,7 +297,7 @@
     );
 
     -- create an initial revision for the new attachment
-    v_revision_id := acs_file__edit_file (
+    v_revision_id := acs_message__edit_file (
          v_file_id,				-- file_id        
          p_title,				-- title          
          p_description,			-- description    
