new wfMsg* functions to use the wgContLang object for translating content related...
[lhc/web/wiklou.git] / includes / SpecialUserlogout.php
index c86f55a..52aa73d 100644 (file)
@@ -1,13 +1,20 @@
 <?php
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
 
-function wfSpecialUserlogout()
-{
+/**
+ * constructor
+ */
+function wfSpecialUserlogout() {
        global $wgUser, $wgOut, $returnto;
 
        $wgUser->logout();
        $wgOut->mCookies = array();
-       $wgOut->setRobotpolicy( "noindex,nofollow" );
-       $wgOut->addHTML( wfMsg( "logouttext" ) . "\n<p>" );
+       $wgOut->setRobotpolicy( 'noindex,nofollow' );
+       $wgOut->addHTML( wfMsg( 'logouttext' ) );
        $wgOut->returnToMain();
 }