From f82d2e5ecaa3cf27d32ca2dbb84ee47eaaebd6c7 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Mon, 3 Dec 2007 16:05:24 +0000 Subject: [PATCH] I meant to be *removing* these, not *adding* them. --- includes/api/ApiBlock.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/includes/api/ApiBlock.php b/includes/api/ApiBlock.php index 9899884cb9..103a7757a9 100644 --- a/includes/api/ApiBlock.php +++ b/includes/api/ApiBlock.php @@ -114,11 +114,7 @@ class ApiBlock extends ApiBase { $this->getResult()->addValue(null, $this->getModuleName(), $res); } - - public function isEditMode() { - return true; - } - + protected function getAllowedParams() { return array ( 'user' => null, -- 2.20.1