Index: openacs-4/packages/file-storage/sql/postgresql/file-storage-drop.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/postgresql/file-storage-drop.sql,v
diff -u -r1.8 -r1.9
--- openacs-4/packages/file-storage/sql/postgresql/file-storage-drop.sql	4 Apr 2002 03:01:06 -0000	1.8
+++ openacs-4/packages/file-storage/sql/postgresql/file-storage-drop.sql	7 Jul 2003 12:37:39 -0000	1.9
@@ -48,6 +48,13 @@
 drop table fs_root_folders;
 select drop_package('file_storage');
 
+-- Unregister the content template
+select content_type__unregister_template (
+       'file-storage-object',
+       content_type__get_template('file-storage-object','public'),
+       'public'
+);
+
 -- Remove subtype of content_revision so that site-wide-search
 -- can distinguish file-storage items in the search results
 select content_type__drop_type (
