X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiLogout.php;h=2ba92a63baa816ee6efcc6f30c51d39d93f902d0;hb=761187725af7fc3547f8e431cc5da6fb45859349;hp=cab24305478715479bff4bcd559868a296fcf0cf;hpb=37048169d892e175c0a77a11f870713a347ff38a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiLogout.php b/includes/api/ApiLogout.php index cab2430547..2ba92a63ba 100644 --- a/includes/api/ApiLogout.php +++ b/includes/api/ApiLogout.php @@ -4,7 +4,7 @@ * * Created on Jan 4, 2008 * - * Copyright © 2008 Yuri Astrakhan @gmail.com, + * Copyright © 2008 Yuri Astrakhan "@gmail.com", * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,10 +32,6 @@ */ class ApiLogout extends ApiBase { - public function __construct( $main, $action ) { - parent::__construct( $main, $action ); - } - public function execute() { $user = $this->getUser(); $oldName = $user->getName(); @@ -75,8 +71,4 @@ class ApiLogout extends ApiBase { public function getHelpUrls() { return 'https://www.mediawiki.org/wiki/API:Logout'; } - - public function getVersion() { - return __CLASS__ . ': $Id$'; - } }