ApiBase.php:
[lhc/web/wiklou.git] / includes / api / ApiLogout.php
index 55adc3d..72b646e 100644 (file)
@@ -1,10 +1,9 @@
 <?php
-
 /**
- * Created on Jan 4, 2008
- *
  * API for MediaWiki 1.8+
  *
+ * Created on Jan 4, 2008
+ *
  * Copyright © 2008 Yuri Astrakhan <Firstname><Lastname>@gmail.com,
  *
  * This program is free software; you can redistribute it and/or modify
@@ -21,6 +20,8 @@
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  * http://www.gnu.org/copyleft/gpl.html
+ *
+ * @file
  */
 
 if ( !defined( 'MEDIAWIKI' ) ) {
@@ -42,7 +43,6 @@ class ApiLogout extends ApiBase {
 
        public function execute() {
                global $wgUser;
-               $this->getMain()->setCachePrivate();
                $oldName = $wgUser->getName();
                $wgUser->logout();