summaryrefslogtreecommitdiff
path: root/includes/api/ApiLogout.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiLogout.php')
-rw-r--r--includes/api/ApiLogout.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/includes/api/ApiLogout.php b/includes/api/ApiLogout.php
index b2f634d0..2ba92a63 100644
--- a/includes/api/ApiLogout.php
+++ b/includes/api/ApiLogout.php
@@ -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$';
- }
}