diff logout.inc.php @ 5:76c3b89d7b11

Improve voting, clean up the code, etc.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 05 Dec 2012 08:08:58 +0200
parents 8019b357cc03
children
line wrap: on
line diff
--- a/logout.inc.php	Tue Dec 04 21:28:11 2012 +0200
+++ b/logout.inc.php	Wed Dec 05 08:08:58 2012 +0200
@@ -1,5 +1,7 @@
 <?
-if (stEndSession())
+stSetupCacheControl();
+
+if (stSessionEnd(stAdmSessionAuth()))
 {
   echo "<h1>Logged out</h1>\n".
   "<p>Have a nice day.</p>\n";