Index: openacs-4/packages/acs-content-repository/sql/oracle/content-extlink.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/content-extlink.sql,v
diff -u -N -r1.7 -r1.8
--- openacs-4/packages/acs-content-repository/sql/oracle/content-extlink.sql	2 Mar 2004 17:01:47 -0000	1.7
+++ openacs-4/packages/acs-content-repository/sql/oracle/content-extlink.sql	4 Mar 2004 14:52:35 -0000	1.8
@@ -24,12 +24,10 @@
 			   default sysdate,
   creation_user	in acs_objects.creation_user%TYPE
 			   default null,
-  creation_ip	in acs_objects.creation_ip%TYPE default null,
-  package_id    in acs_objects.package_id%TYPE
+  creation_ip	in acs_objects.creation_ip%TYPE default null
 ) return cr_extlinks.extlink_id%TYPE is
 
   v_extlink_id		cr_extlinks.extlink_id%TYPE;
-  v_package_id		acs_objects.package_id%TYPE;
   v_label		cr_extlinks.label%TYPE;
   v_name                cr_items.name%TYPE;
 
@@ -48,16 +46,9 @@
     v_name := name;
   end if;
 
-  if package_id is null then
-    v_package_id := acs_object.package_id(new.parent_id);
-  else
-    v_package_id := package_id;
-  end if;
-
   v_extlink_id := content_item.new(
       item_id       => content_extlink.new.extlink_id,
-      name          => v_name,
-      package_id    => v_package_id,
+      name          => v_name, 
       content_type  => 'content_extlink', 
       creation_date => content_extlink.new.creation_date, 
       creation_user => content_extlink.new.creation_user, 
@@ -71,10 +62,6 @@
     (v_extlink_id, content_extlink.new.url, v_label, 
      content_extlink.new.description);
 
-  update acs_objects
-  set title = v_label
-  where object_id = v_extlink_id;
-
   return v_extlink_id;
 
 end new;
