Index: openacs-4/packages/acs-content-repository/sql/oracle/content-symlink.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/content-symlink.sql,v
diff -u -N -r1.6 -r1.7
--- openacs-4/packages/acs-content-repository/sql/oracle/content-symlink.sql	2 Mar 2004 17:01:47 -0000	1.6
+++ openacs-4/packages/acs-content-repository/sql/oracle/content-symlink.sql	4 Mar 2004 14:52:35 -0000	1.7
@@ -21,11 +21,9 @@
   symlink_id	in cr_symlinks.symlink_id%TYPE default null,
   creation_date	in acs_objects.creation_date%TYPE 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_symlinks.symlink_id%TYPE is
   v_symlink_id		cr_symlinks.symlink_id%TYPE;
-  v_package_id		acs_objects.package_id%TYPE;
   v_name		cr_items.name%TYPE;
   v_label		cr_symlinks.label%TYPE;
 begin
@@ -87,16 +85,9 @@
     v_label := content_symlink.new.label;
   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_symlink_id := content_item.new(
       item_id       => content_symlink.new.symlink_id,
-      name          => v_name,
-      package_id    => v_package_id,
+      name          => v_name, 
       content_type  => 'content_symlink', 
       creation_date => content_symlink.new.creation_date, 
       creation_user => content_symlink.new.creation_user, 
@@ -109,10 +100,6 @@
   values
     (v_symlink_id, content_symlink.new.target_id, v_label);
 
-  update acs_objects
-  set title = v_label
-  where object_id = v_symlink_id;
-
   return v_symlink_id;
 
 end new;
