From 0b6489397a8f5a01c28e61d07548e99ef3e4ff6a Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 13 Aug 2008 18:06:07 +0000 Subject: Reverted changes so users can now register again. There are critical issues with enable/disable. Primarily: 1) A number of functions do not use the access controls, these throw an exception when accessing a disabled entity. 2) #243 does not seem possible. git-svn-id: https://code.elgg.org/elgg/trunk@1909 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/email/confirm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/email') diff --git a/actions/email/confirm.php b/actions/email/confirm.php index 39eb68908..d8597c880 100644 --- a/actions/email/confirm.php +++ b/actions/email/confirm.php @@ -29,7 +29,7 @@ system_message(elgg_echo('email:confirm:success')); $user = get_entity($user_guid); - $user->enable(); + //$user->enable(); notify_user($user_guid, $CONFIG->site->guid, sprintf(elgg_echo('email:validate:success:subject'), $user->username), sprintf(elgg_echo('email:validate:success:body'), $user->name), NULL, 'email'); -- cgit v1.2.3