Index: openacs-4/packages/acs-object-management/sql/postgresql/acs-views-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-object-management/sql/postgresql/acs-views-create.sql,v
diff -u -N -r1.1 -r1.2
--- openacs-4/packages/acs-object-management/sql/postgresql/acs-views-create.sql	22 Feb 2011 17:37:03 -0000	1.1
+++ openacs-4/packages/acs-object-management/sql/postgresql/acs-views-create.sql	13 Mar 2011 22:56:22 -0000	1.2
@@ -290,15 +290,9 @@
 
   perform acs_view__create_sql_view(replace(p_type, '':'', ''_'') || ''_v'');
 
-  -- Now fix all subtypes (really only necessary for the attributes view when an attribute
-  -- has been added or dropped, but there is no harm in doing it always).  The supertype
-  -- not equal to object_type bit is again due to the fact that acs_object has itself
-  -- as its supertype rather than null.
-
   for v_type_rec in select object_type
                     from acs_object_types
                     where supertype = p_type
-                      and supertype <> object_type
   loop
     perform acs_object_type__refresh_view(v_type_rec.object_type);
   end loop;
