Permalink
Browse files

MDL-30397 qformat_xml::format() should be public.

  • Loading branch information...
1 parent cf04ce3 commit 70f24aebbff213d13f9ae2a16f06361564f16759 @timhunt timhunt committed Nov 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 question/format/xml/format.php
@@ -1441,10 +1441,10 @@ public function write_hints($question) {
}
/**
- * @param unknown_type $format a FORMAT_... constant.
+ * @param int $format a FORMAT_... constant.
* @return string the attribute to add to an XML tag.
*/
- protected function format($format) {
+ public function format($format) {
return 'format="' . $this->get_format($format) . '"';
}

0 comments on commit 70f24ae

Please sign in to comment.