Index: openacs-4/packages/dotlrn/tcl/dotlrn-callback-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/tcl/dotlrn-callback-procs.xql,v diff -u -r1.2 -r1.2.2.1 --- openacs-4/packages/dotlrn/tcl/dotlrn-callback-procs.xql 8 Aug 2006 21:26:23 -0000 1.2 +++ openacs-4/packages/dotlrn/tcl/dotlrn-callback-procs.xql 1 Mar 2007 16:17:15 -0000 1.2.2.1 @@ -2,7 +2,7 @@ - + select rel_id, rel_type, object_id_one from acs_rels @@ -13,8 +13,40 @@ - + + + UPDATE cr_items + SET parent_id = :to_fs_root_folder + WHERE parent_id = :from_fs_root_folder + + + + + + UPDATE cr_items + SET parent_id = :to_fs_shared_folder + WHERE parent_id = :from_fs_shared_folder + + + + + + + + select item_id, name + from cr_items + where parent_id = :from_fs_root_folder and name in (select name + from cr_items + where parent_id = :to_fs_root_folder); + + + + + + + + select rel_id, rel_type, object_id_one from acs_rels where object_id_two = :user_id