Commit bd7a39c7 authored by lkmorlan's avatar lkmorlan

RT-Ticket: #224015

Make uw_security_user_logout() be the last implementation of this hook to run.
parent b77f2e09
......@@ -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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment