Index: trunk/phase3/includes/api/ApiMain.php |
— | — | @@ -191,6 +191,12 @@ |
192 | 192 | } |
193 | 193 | |
194 | 194 | /** |
| 195 | + * Only kept for backwards compatibility |
| 196 | + * @deprecated Use isWriteMode() instead |
| 197 | + */ |
| 198 | + public function requestWriteMode() {} |
| 199 | + |
| 200 | + /** |
195 | 201 | * Set how long the response should be cached. |
196 | 202 | */ |
197 | 203 | public function setCacheMaxAge($maxage) { |
— | — | @@ -709,4 +715,4 @@ |
710 | 716 | public function __toString() { |
711 | 717 | return "{$this->getCodeString()}: {$this->getMessage()}"; |
712 | 718 | } |
713 | | -} |
\ No newline at end of file |
| 719 | +} |