|
@@ -17,9 +17,9 @@ class LuticateUsersController extends LuController {
|
17
|
17
|
return LuticateUsersBusiness::login($username, $password);
|
18
|
18
|
}
|
19
|
19
|
|
20
|
|
- public function logout($user)
|
|
20
|
+ public function logout($_user)
|
21
|
21
|
{
|
22
|
|
- return LuticateUsersBusiness::logout($user);
|
|
22
|
+ return LuticateUsersBusiness::logout($_user);
|
23
|
23
|
}
|
24
|
24
|
|
25
|
25
|
public function getById($user_id)
|
|
@@ -42,9 +42,9 @@ class LuticateUsersController extends LuController {
|
42
|
42
|
return LuticateUsersBusiness::edit($user_id, $email);
|
43
|
43
|
}
|
44
|
44
|
|
45
|
|
- public function editMe($email, $user)
|
|
45
|
+ public function editMe($email, $_user)
|
46
|
46
|
{
|
47
|
|
- return LuticateUsersBusiness::edit($user->getId(), $email);
|
|
47
|
+ return LuticateUsersBusiness::edit($_user->getId(), $email);
|
48
|
48
|
}
|
49
|
49
|
|
50
|
50
|
public function setPassword($password, $user_id)
|
|
@@ -52,8 +52,8 @@ class LuticateUsersController extends LuController {
|
52
|
52
|
return LuticateUsersBusiness::setPassword($user_id, $password);
|
53
|
53
|
}
|
54
|
54
|
|
55
|
|
- public function setPasswordMe($password, $oldPassword, $user)
|
|
55
|
+ public function setPasswordMe($password, $oldPassword, $_user)
|
56
|
56
|
{
|
57
|
|
- return LuticateUsersBusiness::setPasswordMe($password, $oldPassword, $user);
|
|
57
|
+ return LuticateUsersBusiness::setPasswordMe($password, $oldPassword, $_user);
|
58
|
58
|
}
|
59
|
59
|
}
|