|
@@ -77,14 +77,16 @@ class LuticateUsersController extends LuController {
|
77
|
77
|
}
|
78
|
78
|
|
79
|
79
|
/**
|
80
|
|
- * Edit the user email for a user
|
|
80
|
+ * Edit the user details
|
81
|
81
|
* @param $email string The new user amil
|
82
|
82
|
* @param $user_id int The user id
|
|
83
|
+ * @param $firstname string The user firstname
|
|
84
|
+ * @param $lastname string The user lastname
|
83
|
85
|
* @return bool
|
84
|
86
|
*/
|
85
|
|
- public function edit($email, $user_id)
|
|
87
|
+ public function edit($email, $firstname, $lastname, $user_id)
|
86
|
88
|
{
|
87
|
|
- return LuticateUsersBusiness::edit($user_id, $email);
|
|
89
|
+ return LuticateUsersBusiness::edit($user_id, $firstname, $lastname, $email);
|
88
|
90
|
}
|
89
|
91
|
|
90
|
92
|
/**
|