From 5366cd6a4ca12203147407be01a80817fa37ea3a Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 3 Oct 2008 16:11:13 +0000 Subject: Fixes #311, closes #345: Validation now called via event 'user', 'validate'. Email validation now a plugin. git-svn-id: https://code.elgg.org/elgg/trunk@2177 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') diff --git a/engine/lib/users.php b/engine/lib/users.php index 613993c0c..a0b3aad26 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -922,7 +922,7 @@ function request_user_validation($user_guid) { $user = get_entity($user_guid); - + if (($user) && ($user instanceof ElggUser)) { // invalidate any existing validations -- cgit v1.2.3