aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-24 21:38:26 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-24 21:38:26 +0000
commitef2f6df18e77ca6b92cd5e9c71c0f6d3b40fe3f5 (patch)
treec8410f35028b0b70968e04367c052ddf3a9573b2
parentf448f7b8c7a49e46736c82450b625a6d634b5803 (diff)
downloadelgg-ef2f6df18e77ca6b92cd5e9c71c0f6d3b40fe3f5.tar.gz
elgg-ef2f6df18e77ca6b92cd5e9c71c0f6d3b40fe3f5.tar.bz2
Fixes #1418: Changing an email address no longer invalidates an account.
git-svn-id: http://code.elgg.org/elgg/trunk@6966 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--actions/email/save.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/actions/email/save.php b/actions/email/save.php
index 34fce3c30..bf573fede 100644
--- a/actions/email/save.php
+++ b/actions/email/save.php
@@ -2,10 +2,8 @@
/**
* Action for saving a new email address for a user and triggering a confirmation.
*
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
+ * @package Elgg.Core
+ * @subpackage Administration.Users
*/
gatekeeper();
@@ -31,7 +29,6 @@ if ($user) {
$user->email = $email;
if ($user->save()) {
- request_user_validation($user->getGUID());
system_message(elgg_echo('email:save:success'));
} else {
register_error(elgg_echo('email:save:fail'));