aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sessions.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-04 14:46:47 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-04 14:46:47 +0000
commit8fd7f6e98053c443b9dd86df84e19ff555833ffd (patch)
tree2d57de91a2ca3427119250145deecddcedb3894c /engine/lib/sessions.php
parent29caac489755630e7ffc345774d091ae36434eb3 (diff)
downloadelgg-8fd7f6e98053c443b9dd86df84e19ff555833ffd.tar.gz
elgg-8fd7f6e98053c443b9dd86df84e19ff555833ffd.tar.bz2
Fixed actions issues
git-svn-id: https://code.elgg.org/elgg/trunk@796 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/sessions.php')
-rw-r--r--engine/lib/sessions.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php
index c302ed3cc..2995c1723 100644
--- a/engine/lib/sessions.php
+++ b/engine/lib/sessions.php
@@ -172,6 +172,10 @@
if ($_SESSION['id'] > 0) {
// set_last_action($_SESSION['id']);
}
+
+ register_action("login",true);
+ register_action("logout");
+
}
/**
@@ -183,11 +187,6 @@
}
register_event_handler("boot","system","session_init",1);
-
- //register actions *************************************************************
-
- register_action("login",true);
- register_action("logout");
?> \ No newline at end of file