Skip to content
Snippets Groups Projects
Commit 6c449b4a authored by PavelBegunkov's avatar PavelBegunkov
Browse files

another one session fix

parent c77b4182
Branches
Tags
No related merge requests found
...@@ -26,7 +26,7 @@ class Controller_Handler_Session extends Controller_Handler { ...@@ -26,7 +26,7 @@ class Controller_Handler_Session extends Controller_Handler {
public function action_closeSession() { public function action_closeSession() {
if (User::instance()->isSignedIn()) { if (User::instance()->isSignedIn()) {
User::instance()->completeSignOut(); User::instance()->signOut();
} }
$this->response->body(json_encode(0)); $this->response->body(json_encode(0));
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment