API: Changing all modules' getParamDescription(), getAllowedParams() and getDescripti...
[lhc/web/wiklou.git] / includes / api / ApiLogout.php
index 0d74d6b..d578acf 100644 (file)
@@ -37,7 +37,7 @@ if (!defined('MEDIAWIKI')) {
 class ApiLogout extends ApiBase {
 
        public function __construct($main, $action) {
-               parent :: __construct($main, $action, 'lo');
+               parent :: __construct($main, $action);
        }
 
        public function execute() {
@@ -45,15 +45,15 @@ class ApiLogout extends ApiBase {
                $wgUser->logout();
        }
 
-       protected function getAllowedParams() {
+       public function getAllowedParams() {
                return array ();
        }
 
-       protected function getParamDescription() {
+       public function getParamDescription() {
                return array ();
        }
 
-       protected function getDescription() {
+       public function getDescription() {
                return array (
                        'This module is used to logout and clear session data'
                );