From e7725399c2dee0fdf59b2a1d0e702c7bf11e6ecc Mon Sep 17 00:00:00 2001 From: xisi Date: Thu, 16 Jan 2014 04:07:57 -0500 Subject: [PATCH] change function name for sending 2f emails --- public/include/classes/user.class.php | 2 +- public/include/pages/account/edit.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/include/classes/user.class.php b/public/include/classes/user.class.php index 9b22c379..ada25335 100644 --- a/public/include/classes/user.class.php +++ b/public/include/classes/user.class.php @@ -279,7 +279,7 @@ class User extends Base { * @param userID int User ID * @return bool */ - public function sendChangeConf($strType, $userID) { + public function sendChangeConfigEmail($strType, $userID) { $exists = $this->token->doesTokenExist($strType, $userID); if ($exists == 0) { $token = $this->token->createToken($strType, $userID); diff --git a/public/include/pages/account/edit.inc.php b/public/include/pages/account/edit.inc.php index b3614a87..8df98502 100644 --- a/public/include/pages/account/edit.inc.php +++ b/public/include/pages/account/edit.inc.php @@ -71,7 +71,7 @@ if ($user->isAuthenticated()) { $isvalid = in_array($_POST['utype'],$validtypes); if ($isvalid) { $ctype = strip_tags($_POST['utype']); - $send = $user->sendChangeConf($ctype, $_SESSION['USERDATA']['id']); + $send = $user->sendChangeConfigEmail($ctype, $_SESSION['USERDATA']['id']); if ($send) { $_SESSION['POPUP'][] = array('CONTENT' => 'A confirmation was sent to your e-mail, follow that link to continue', 'TYPE' => 'success'); } else {