Index: openacs-4/contrib/packages/classified-ads/sql/postgresql/ads-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/classified-ads/sql/postgresql/ads-create.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/packages/classified-ads/sql/postgresql/ads-create.sql	24 Jul 2003 00:11:03 -0000	1.2
+++ openacs-4/contrib/packages/classified-ads/sql/postgresql/ads-create.sql	25 Jul 2003 23:53:19 -0000	1.3
@@ -21,37 +21,9 @@
         ''ad_id'',                      -- id_column
         ''ca_ads__name''                -- name_method
     );
-
--- create the attributes
-
-    v_attribute_id := ca_attributes__create_attribute (
-        ''ca_ad'',                      -- content_type
-	    ''expires_on'',                 -- attribute_name
-	    ''date'',                       -- datatype
-	    ''Expiry Date'',                -- pretty_name
-	    ''Expiry Dates'',               -- pretty_plural
-	    null,                           -- sort_order
-	    null,                           -- default_value
-        ''type_specific'',              -- storage
-        ''cr_ca_ads'',                  -- table_name
-	    ''timestamp'',                  -- column_spec
-        null                            -- package_id
-    );
-
-    PERFORM ca_attributes__register_widget (
-	    v_attribute_id,                 -- attribute_name
-	    ''date'',                       -- widget
-	    ''Ad expires on'',              -- label
-	    null,                           -- keyword_id (NULL because it is site-wide)
-	    null,                           -- html_options
-	    '' -format "MONTH DD YYYY" -help'' -- extra_options
-	    null,                           -- select_options
-	    null,                           -- validate
-	    ''t'',                          -- optional_p
-            ''t''                           -- enabled_p
-    );
-
+    
 -- register mime_types
+
     PERFORM content_type__register_mime_type (
         ''ca_ad'',                      -- content_type
 	    ''text/plain''                  -- mime_type
