Index: openacs-4/packages/lors-central/tcl/lors-central-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lors-central/tcl/lors-central-procs.xql,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/lors-central/tcl/lors-central-procs.xql 17 May 2005 16:21:18 -0000 1.1 +++ openacs-4/packages/lors-central/tcl/lors-central-procs.xql 31 May 2005 22:57:22 -0000 1.2 @@ -1,7 +1,31 @@ + + + select + 1 + from + acs_objects + where + creation_user = :user_id and + object_id = :object_id + + + + + select + count(user_id) + from + dotlrn_member_rels_full + where + user_id = :user_id and + ( role = 'admin' or role = 'instructor' ) + $extra_query + + + select @@ -238,6 +262,18 @@ + + + select + folder_id + from + cr_folders + where + label = 'LORSM Organizations Folder' + + + + select