Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No commit message

  • Loading branch information...
commit 03224dcb1c85a513509170f997dc9807e4f7c9c0 1 parent e07cd43
Normann Lou authored
Showing with 1 addition and 16 deletions.
  1. +1 −16 code/extensions/SessionLoggingExtension.php
View
17 code/extensions/SessionLoggingExtension.php
@@ -1,5 +1,5 @@
<?php
-class SessionLoggingExtension extends DataObjectDecorator {
+class SessionLoggingExtension extends Extension {
/**
* Before {@link Controller}::init is called
@@ -18,20 +18,5 @@ function beforeInit($request) {
function afterInit($request) {
}
-
- /**
- * If a member logs in, the session stops and another is started
- */
- function memberLoggedIn() {
- SessionLogEntry::stop();
- SessionLogEntry::start(Session::get_timeout());
- }
-
- /**
- * Logging out also stops the session
- */
- function memberLoggedOut() {
- SessionLogEntry::stop();
- }
}
?>
Please sign in to comment.
Something went wrong with that request. Please try again.