Skip to content
Browse files

Merge branch 'MDL-30135' of git://github.com/timhunt/moodle

  • Loading branch information...
2 parents d4bdd01 + 4a84c94 commit 7e63edc42f6200244e7e45ee84fefa6ac2a9885c @nebgor nebgor committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 question/format/xml/format.php
View
4 question/format/xml/format.php
@@ -67,7 +67,7 @@ public function mime_type() {
* @param string name format name from xml file
* @return int Moodle format code
*/
- protected function trans_format($name) {
+ public function trans_format($name) {
$name = trim($name);
if ($name == 'moodle_auto_format') {
@@ -970,7 +970,7 @@ protected function get_qtype($qtype) {
* @param int id internal code
* @return string format text
*/
- protected function get_format($id) {
+ public function get_format($id) {
switch($id) {
case FORMAT_MOODLE:
return 'moodle_auto_format';

0 comments on commit 7e63edc

Please sign in to comment.
Something went wrong with that request. Please try again.