summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/controllers/logout.php')
-rw-r--r--modules/gallery/controllers/logout.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/controllers/logout.php b/modules/gallery/controllers/logout.php
index 45d397ad..6841b870 100644
--- a/modules/gallery/controllers/logout.php
+++ b/modules/gallery/controllers/logout.php
@@ -21,8 +21,8 @@ class Logout_Controller extends Controller {
public function index() {
//access::verify_csrf();
- $user = user::active();
- user::logout();
+ $user = Identity::active();
+ Identity::logout();
log::info("user", t("User %name logged out", array("name" => $user->name)),
html::anchor("user/$user->id", html::clean($user->name)));
if ($continue_url = $this->input->get("continue")) {