summaryrefslogtreecommitdiff
path: root/includes/api/ApiFormatYaml.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiFormatYaml.php')
-rw-r--r--includes/api/ApiFormatYaml.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/api/ApiFormatYaml.php b/includes/api/ApiFormatYaml.php
index 3798f894..c9089a7d 100644
--- a/includes/api/ApiFormatYaml.php
+++ b/includes/api/ApiFormatYaml.php
@@ -40,7 +40,7 @@ class ApiFormatYaml extends ApiFormatJson {
parent::execute();
}
- public function getDescription() {
- return 'DEPRECATED! Output data in YAML format' . ApiFormatBase::getDescription();
+ public function isDeprecated() {
+ return true;
}
}