Skip to content
Snippets Groups Projects
Commit b182d887 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

small formatting change

parent 8a73760b
Branches
Tags
No related merge requests found
<?php <?php
/** /**
* Elgg logout action for use with UNL CAS * Elgg logout action for use with UNL CAS
* *
...@@ -17,7 +16,6 @@ ...@@ -17,7 +16,6 @@
$result = logout(); $result = logout();
// Set the system_message as appropriate // Set the system_message as appropriate
if ($result) { if ($result) {
system_message(elgg_echo('logoutok')); system_message(elgg_echo('logoutok'));
} else { } else {
...@@ -28,9 +26,7 @@ ...@@ -28,9 +26,7 @@
// Due to problems getting the SimpleCAS logout to work, we're just forwarding to the right URL since // Due to problems getting the SimpleCAS logout to work, we're just forwarding to the right URL since
// the Elgg logout function above took care of destroying the session, which is all the SimpleCAS logout // the Elgg logout function above took care of destroying the session, which is all the SimpleCAS logout
// was doing anyway. // was doing anyway.
if ($loggedInWithCas) { if ($loggedInWithCas) {
global $CONFIG; global $CONFIG;
forward('https://login.unl.edu/cas/logout?url='.$CONFIG->url); forward('https://login.unl.edu/cas/logout?url='.$CONFIG->url);
} }
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment