aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Rest/Handler/PageSourceHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Rest/Handler/PageSourceHandler.php')
-rw-r--r--includes/Rest/Handler/PageSourceHandler.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/Rest/Handler/PageSourceHandler.php b/includes/Rest/Handler/PageSourceHandler.php
index 39d28357e352..d0da5d519463 100644
--- a/includes/Rest/Handler/PageSourceHandler.php
+++ b/includes/Rest/Handler/PageSourceHandler.php
@@ -168,8 +168,6 @@ class PageSourceHandler extends SimpleHandler {
}
public function getResponseBodySchemaFileName( string $method ): ?string {
- // This does not include restbase compatibility mode, which is triggered by request
- // headers. Presumably, such callers will look at the RESTBase spec instead.
switch ( $this->getConfig()['format'] ) {
case 'bare':
$schema = 'includes/Rest/Handler/Schema/ExistingPageBare.json';