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.2 -r1.3 --- openacs-4/packages/assessment/sql/postgresql/assessment-actions-insert.sql 4 Feb 2005 20:49:56 -0000 1.2 +++ openacs-4/packages/assessment/sql/postgresql/assessment-actions-insert.sql 4 Feb 2005 21:02:24 -0000 1.3 @@ -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 [auth::test::get_admin_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 [ad_admin_owner] +set admin_email [db_string unused "select email from parties where party_id = :admin_user_id"] set message "$first_names $last_name, You have been added as a user to $system_name