summaryrefslogtreecommitdiff
path: root/modules/user/controllers/logout.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-28 00:51:38 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-28 00:51:38 +0000
commit828f23896f820f826b803b35c506f8e764504a18 (patch)
tree89e0a448eddf08dd541a9dfef3337c6e22425479 /modules/user/controllers/logout.php
parent3ad9b6174a0adcc3d9b6e4ae007bd3ffd8ef2d26 (diff)
Rename item events and create events for comment create, login, logout, user creation. I probably forgot some, but its a start.
Diffstat (limited to 'modules/user/controllers/logout.php')
-rw-r--r--modules/user/controllers/logout.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/controllers/logout.php b/modules/user/controllers/logout.php
index 524c79f8..c9ad1b6a 100644
--- a/modules/user/controllers/logout.php
+++ b/modules/user/controllers/logout.php
@@ -21,6 +21,7 @@ class Logout_Controller extends Controller {
public function index() {
try {
Session::instance()->destroy();
+ Event::run("gallery.user.logout", $user);
} catch (Exception $e) {
Kohana::log("error", $e);
}