Index: trunk/extensions/CodeReview/api/ApiRevisionUpdate.php |
— | — | @@ -142,8 +142,6 @@ |
143 | 143 | array( 'code' => 'permissiondenied', 'info' => 'You don\'t have permission to update code' ), |
144 | 144 | array( 'code' => 'invalidrepo', 'info' => "Invalid repo ``repo''" ), |
145 | 145 | array( 'code' => 'nosuchrev', 'info' => 'There is no revision with ID \'rev\'' ), |
146 | | - array( 'missingparam', 'repo' ), |
147 | | - array( 'missingparam', 'rev' ), |
148 | 146 | ) ); |
149 | 147 | } |
150 | 148 | |
Index: trunk/extensions/CodeReview/api/ApiQueryCodeRevisions.php |
— | — | @@ -176,7 +176,6 @@ |
177 | 177 | |
178 | 178 | public function getPossibleErrors() { |
179 | 179 | return array_merge( parent::getPossibleErrors(), array( |
180 | | - array( 'missingparam', 'repo' ), |
181 | 180 | array( 'code' => 'permissiondenied', 'info' => 'You don\'t have permission to view code revisions' ), |
182 | 181 | array( 'code' => 'invalidrepo', 'info' => "Invalid repo ``repo''" ), |
183 | 182 | ) ); |
Index: trunk/extensions/CodeReview/api/ApiCodeDiff.php |
— | — | @@ -88,8 +88,6 @@ |
89 | 89 | array( 'code' => 'permissiondenied', 'info' => 'You don\'t have permission to view code diffs' ), |
90 | 90 | array( 'code' => 'invalidrepo', 'info' => "Invalid repo ``repo''" ), |
91 | 91 | array( 'code' => 'nosuchrev', 'info' => 'There is no revision with ID \'rev\'' ), |
92 | | - array( 'missingparam', 'repo' ), |
93 | | - array( 'missingparam', 'rev' ), |
94 | 92 | ) ); |
95 | 93 | } |
96 | 94 | |
Index: trunk/extensions/CodeReview/api/ApiQueryCodeComments.php |
— | — | @@ -146,7 +146,6 @@ |
147 | 147 | |
148 | 148 | public function getPossibleErrors() { |
149 | 149 | return array_merge( parent::getPossibleErrors(), array( |
150 | | - array( 'missingparam', 'repo' ), |
151 | 150 | array( 'code' => 'permissiondenied', 'info' => 'You don\'t have permission to view code comments' ), |
152 | 151 | array( 'code' => 'invalidrepo', 'info' => "Invalid repo ``repo''" ), |
153 | 152 | ) ); |
Index: trunk/extensions/CodeReview/api/ApiCodeUpdate.php |
— | — | @@ -113,8 +113,6 @@ |
114 | 114 | return array_merge( parent::getPossibleErrors(), array( |
115 | 115 | array( 'code' => 'permissiondenied', 'info' => 'You don\'t have permission to update code' ), |
116 | 116 | array( 'code' => 'invalidrepo', 'info' => "Invalid repo ``repo''" ), |
117 | | - array( 'missingparam', 'repo' ), |
118 | | - array( 'missingparam', 'rev' ), |
119 | 117 | ) ); |
120 | 118 | } |
121 | 119 | |