From: Roan Kattouw Date: Mon, 3 Dec 2007 16:05:24 +0000 (+0000) Subject: I meant to be *removing* these, not *adding* them. X-Git-Tag: 1.31.0-rc.0~50580 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=f82d2e5ecaa3cf27d32ca2dbb84ee47eaaebd6c7;p=lhc%2Fweb%2Fwiklou.git I meant to be *removing* these, not *adding* them. --- 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,