From da1da41bdc4b602f072bb44a3b9bd448f2342d6b Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 07 Feb 2010 13:51:07 -0500
Subject: [PATCH] FS#1064 - Add support for event based plugins to the web frontend.
---
interface/web/login/logout.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/interface/web/login/logout.php b/interface/web/login/logout.php
index 91a7bb6..912a430 100644
--- a/interface/web/login/logout.php
+++ b/interface/web/login/logout.php
@@ -59,6 +59,8 @@
exit;
}
+$app->plugin->raiseEvent('logout',true);
+
$_SESSION["s"]["user"] = null;
$_SESSION["s"]["module"] = null;
$_SESSION['s_old'] = null;
--
Gitblit v1.9.1