comment out entries that are the same as in en, use wfMsgNoDb( )
[lhc/web/wiklou.git] / includes / SpecialUserlogout.php
index 0943351..182c9bf 100644 (file)
@@ -1,12 +1,13 @@
-<?
+<?php
 
 function wfSpecialUserlogout()
 {
        global $wgUser, $wgOut, $returnto;
 
        $wgUser->logout();
+       $wgOut->mCookies = array();
        $wgOut->setRobotpolicy( "noindex,nofollow" );
-       $wgOut->addHTML( wfMsg( "logouttext" ) . "\n<p>" );
+       $wgOut->addHTML( wfMsg( "logouttext" ) );
        $wgOut->returnToMain();
 }