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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/logout.php b/modules/gallery/controllers/logout.php
index 058860fa..1b0364fd 100644
--- a/modules/gallery/controllers/logout.php
+++ b/modules/gallery/controllers/logout.php
@@ -19,7 +19,7 @@
*/
class Logout_Controller extends Controller {
public function index() {
- $user = Session::active_user();
+ $user = identity::active_user();
if (!$user->guest) {
try {
Session::instance()->destroy();