From d9c5f479387912796148db89ca996fc9c1cefd69 Mon Sep 17 00:00:00 2001 From: Chris Murray Date: Sun, 27 Apr 2014 17:51:00 +0100 Subject: [PATCH] remove duplicate function from register #281 remove duplicate function from register #281 --- crm/modules/register/register.inc.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/crm/modules/register/register.inc.php b/crm/modules/register/register.inc.php index 2a659039..11168a21 100644 --- a/crm/modules/register/register.inc.php +++ b/crm/modules/register/register.inc.php @@ -158,9 +158,6 @@ function command_register () { ); $member = array('membership' => $membership); $contact['member'] = $member; - // Add user fields - $user = array('username' => $username); - $contact['user'] = $user; // Save to database $contact = contact_save($contact);