Commit ab17de8c authored by Ad Schellevis's avatar Ad Schellevis

(legacy) mark deletions in xmlrpc source data

parent debe657e
......@@ -152,6 +152,13 @@ function copy_conf_section(&$cnf_structure_in, &$cnf_structure_out, $reference)
} else {
$cnf_structure_out[$cnf_section] = $cnf_structure_in;
}
} else {
// if source entry doesn't exist, make sure we copy an empty entry to the remote side
// otherwise there's no way to know data has been removed
if (!isset($cnf_structure_out[$cnf_section])) {
$cnf_structure_out[$cnf_section] = array();
}
$cnf_structure_out = &$cnf_structure_out[$cnf_section];
}
$cnf_path_depth++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment