forked from science-ation/science-ation
Removed an unnecessary i18n call
This commit is contained in:
parent
6396ca85f3
commit
27b2c26c54
@ -137,13 +137,13 @@ function save_contact(){
|
|||||||
// load or create the user, according to the situation
|
// load or create the user, according to the situation
|
||||||
if($_POST['recordtype'] == 'new'){
|
if($_POST['recordtype'] == 'new'){
|
||||||
// this is a new record being submitted. Create the user.
|
// this is a new record being submitted. Create the user.
|
||||||
$successMessage = i18n("Contact created successfully");
|
$successMessage = "Contact created successfully";
|
||||||
$successLog = "Added contact ";
|
$successLog = "Added contact ";
|
||||||
$u = user_create("sponsor", $_POST['email']);
|
$u = user_create("sponsor", $_POST['email']);
|
||||||
$id = $u['id'];
|
$id = $u['id'];
|
||||||
}else if($_POST['recordtype'] == 'existing'){
|
}else if($_POST['recordtype'] == 'existing'){
|
||||||
// this is an existing record being updated. Load the user.
|
// this is an existing record being updated. Load the user.
|
||||||
$successMessage = i18n("Contact updated successfully");
|
$successMessage = "Contact updated successfully";
|
||||||
$successLog = "Updated contact ";
|
$successLog = "Updated contact ";
|
||||||
|
|
||||||
$u = user_load($_POST['userid']);
|
$u = user_load($_POST['userid']);
|
||||||
|
Loading…
Reference in New Issue
Block a user