Index: openacs-4/packages/assessment/sql/postgresql/assessment-actions-insert.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/sql/postgresql/assessment-actions-insert.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/assessment/sql/postgresql/assessment-actions-insert.sql	4 Feb 2005 18:09:30 -0000	1.1
+++ openacs-4/packages/assessment/sql/postgresql/assessment-actions-insert.sql	4 Feb 2005 20:49:56 -0000	1.2
@@ -15,12 +15,12 @@
 array set user_new_info [auth::create_user -username $user_name -email $email -first_names $first_names\\
  -last_name $last_name -password $password]
 }
-set admin_user_id [ad_verify_and_get_user_id]
+
 set administration_name [db_string admin_name "select first_names || \' \' || last_name from persons where person_id
  = :admin_user_id"]
 set system_name [ad_system_name]
 set system_url [ad_parameter -package_id [ad_acs_kernel_id] SystemURL ""].
-set admin_email [db_string unused "select email from parties where party_id = :admin_user_id"]
+set admin_email [ad_admin_owner]
 
 set message "$first_names $last_name,
 You have been added as a user to $system_name
