Permalink
Browse files

Merge branch 'MDL-42377_m25' of https://github.com/markn86/moodle int…

…o MOODLE_25_STABLE
  • Loading branch information...
2 parents 3a32362 + fae00b4 commit 183058c8b577d04ac088e1de3767944b9619a660 @stronk7 stronk7 committed Oct 24, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 backup/moodle2/backup_xml_transformer.class.php
@@ -35,7 +35,7 @@
$LINKS_ENCODERS_CACHE = array();
/**
- * Class implementing the @xml_contenttrasnformed logic to be applied in moodle2 backups
+ * Class implementing the @xml_contenttransformed logic to be applied in moodle2 backups
*
* TODO: Finish phpdocs
*/
@@ -61,13 +61,13 @@ public function process($content) {
// Array or object, debug and try our best recursively, shouldn't happen but...
if (is_array($content)) {
- debugging('Backup XML transformer should process arrays but plain content always', DEBUG_DEVELOPER);
+ debugging('Backup XML transformer should not process arrays but plain content only', DEBUG_DEVELOPER);
foreach($content as $key => $plaincontent) {
$content[$key] = $this->process($plaincontent);
}
return $content;
} else if (is_object($content)) {
- debugging('Backup XML transformer should not process objects but plain content always', DEBUG_DEVELOPER);
+ debugging('Backup XML transformer should not process objects but plain content only', DEBUG_DEVELOPER);
foreach((array)$content as $key => $plaincontent) {
$content[$key] = $this->process($plaincontent);
}

0 comments on commit 183058c

Please sign in to comment.