From 5c4b91a531105ddbf873045b65009484b65384dc Mon Sep 17 00:00:00 2001 From: brettp Date: Sat, 30 Oct 2010 15:00:06 +0000 Subject: Fixed an invalid call to get_pageowner_guid() in can_edit_entity(). Removed the call to the validation function in useradd. git-svn-id: http://code.elgg.org/elgg/trunk@7132 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/useradd.php | 1 - 1 file changed, 1 deletion(-) (limited to 'actions') diff --git a/actions/useradd.php b/actions/useradd.php index 8e287e1d8..2b3dfe429 100644 --- a/actions/useradd.php +++ b/actions/useradd.php @@ -33,7 +33,6 @@ try { $new_user->admin_created = TRUE; $new_user->created_by_guid = get_loggedin_userid(); - set_user_validation_status($new_user->getGUID(), TRUE, 'admin_created'); $subject = elgg_echo('useradd:subject'); $body = sprintf(elgg_echo('useradd:body'), $name, -- cgit v1.2.3