* Fix explicit s-maxage=0 on raw pages; should help with proxy issues in
[lhc/web/wiklou.git] / includes / SpecialUserlogout.php
index 0a34a8e..c3f0a5c 100644 (file)
@@ -9,19 +9,18 @@
  * constructor
  */
 function wfSpecialUserlogout() {
-       global $wgUser, $wgOut, $returnto;
+       global $wgUser, $wgOut;
 
        if (wfRunHooks('UserLogout', array(&$wgUser))) {
-               
+
                $wgUser->logout();
 
                wfRunHooks('UserLogoutComplete', array(&$wgUser));
-               
-               $wgOut->mCookies = array();
+
                $wgOut->setRobotpolicy( 'noindex,nofollow' );
                $wgOut->addHTML( wfMsg( 'logouttext' ) );
                $wgOut->returnToMain();
-               
+
        }
 }