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.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/api/ApiFormatYaml.php b/includes/api/ApiFormatYaml.php
index bd74f01a..2371903f 100644
--- a/includes/api/ApiFormatYaml.php
+++ b/includes/api/ApiFormatYaml.php
@@ -40,16 +40,15 @@ class ApiFormatYaml extends ApiFormatBase {
}
public function execute() {
- require ('ApiFormatYaml_spyc.php');
$this->printText(Spyc :: YAMLDump($this->getResultData()));
}
protected function getDescription() {
- return 'Output data in YAML format';
+ return 'Output data in YAML format' . parent :: getDescription();
}
public function getVersion() {
- return __CLASS__ . ': $Id: ApiFormatYaml.php 16725 2006-10-01 21:20:55Z yurik $';
+ return __CLASS__ . ': $Id: ApiFormatYaml.php 17374 2006-11-03 06:53:47Z yurik $';
}
}
?> \ No newline at end of file