mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
Merge branch 'w04_MDL-31173_m23_restore' of git://github.com/skodak/moodle
This commit is contained in:
commit
d6c2f4639f
@ -63,7 +63,7 @@ class restore_decode_processor {
|
|||||||
|
|
||||||
public function add_rule($rule) {
|
public function add_rule($rule) {
|
||||||
if (!$rule instanceof restore_decode_rule) {
|
if (!$rule instanceof restore_decode_rule) {
|
||||||
throw new restore_decode_processor_exception('incorrect_restore_decode_rule', get_class($content));
|
throw new restore_decode_processor_exception('incorrect_restore_decode_rule', get_class($rule));
|
||||||
}
|
}
|
||||||
$rule->set_restoreid($this->restoreid);
|
$rule->set_restoreid($this->restoreid);
|
||||||
$rule->set_wwwroots($this->sourcewwwroot, $this->targetwwwroot);
|
$rule->set_wwwroots($this->sourcewwwroot, $this->targetwwwroot);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user