aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 15:00:06 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 15:00:06 +0000
commit5c4b91a531105ddbf873045b65009484b65384dc (patch)
tree9504742ba2369e8c6ce6b43029b0c705722b744c /actions
parent26979002f15359ea9af7a1d2c2251419ac6db060 (diff)
downloadelgg-5c4b91a531105ddbf873045b65009484b65384dc.tar.gz
elgg-5c4b91a531105ddbf873045b65009484b65384dc.tar.bz2
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
Diffstat (limited to 'actions')
-rw-r--r--actions/useradd.php1
1 files changed, 0 insertions, 1 deletions
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,