Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
U
uw_security
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
WCMS
uw_security
Commits
bd7a39c7
Commit
bd7a39c7
authored
Feb 24, 2012
by
lkmorlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RT-Ticket: #224015
Make uw_security_user_logout() be the last implementation of this hook to run.
parent
b77f2e09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
uw_security.module
uw_security.module
+13
-0
No files found.
uw_security.module
View file @
bd7a39c7
...
...
@@ -66,3 +66,16 @@ function uw_security_user_logout($account) {
unset
(
$_GET
[
'destination'
]);
drupal_goto
(
$logout_url
,
$options
);
}
/**
* hook_module_implements_alter().
*
* Make uw_security_user_logout() be the last implementation of this hook to run.
*/
function
hook_module_implements_alter
(
&
$implementations
,
$hook
)
{
if
(
$hook
===
'user_logout'
)
{
$group
=
$implementations
[
'uw_security'
];
unset
(
$implementations
[
'uw_security'
]);
$implementations
[
'uw_security'
]
=
$group
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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