Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
7eb775a8
Commit
7eb775a8
authored
Jan 20, 2011
by
Richard Mansfield
Browse files
Add local logout hook
Signed-off-by:
Richard Mansfield
<
richard.mansfield@catalyst.net.nz
>
parent
b738b056
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/auth/lib.php
View file @
7eb775a8
...
...
@@ -383,6 +383,10 @@ function auth_setup () {
log_debug
(
"Strange: user "
.
$USER
->
get
(
'username'
)
.
" had no authinstance set in their session"
);
}
if
(
function_exists
(
'local_logout'
))
{
local_logout
();
}
$USER
->
logout
();
$SESSION
->
add_ok_msg
(
get_string
(
'loggedoutok'
));
redirect
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment