MDL-21432 backup - root task, inforef and users handling completed, various fixes

This commit is contained in:
Eloy Lafuente
2010-07-14 23:59:19 +00:00
parent 2087babba1
commit 482aac657a
20 changed files with 1013 additions and 23 deletions
@@ -48,8 +48,8 @@ class restore_structure_parser_processor extends grouped_parser_processor {
* Provide NULL and legacy file.php uses decoding
*/
public function process_cdata($cdata) {
if (is_null($cdata)) { // Some cases we know we can skip complete processing
return '$@NULL@$';
if ($cdata === '$@NULL@$') { // Some cases we know we can skip complete processing
return null;
} else if ($cdata === '') {
return '';
} else if (is_numeric($cdata)) {