Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
476e97f
)
MDL-50569 backup: Missing get_target call
author
David Monllao
<davidm@moodle.com>
Tue, 30 Jun 2015 02:26:18 +0000
(10:26 +0800)
committer
David Monllao
<davidm@moodle.com>
Tue, 30 Jun 2015 02:26:18 +0000
(10:26 +0800)
backup/moodle2/restore_stepslib.php
patch
|
blob
|
blame
|
history
diff --git
a/backup/moodle2/restore_stepslib.php
b/backup/moodle2/restore_stepslib.php
index
9ae5720
..
23e64f0
100644
(file)
--- a/
backup/moodle2/restore_stepslib.php
+++ b/
backup/moodle2/restore_stepslib.php
@@
-522,6
+522,7
@@
class restore_gradebook_structure_step extends restore_structure_step {
$version29start = 2015051100.00;
$version29last = 2015060400.02;
+ $target = $this->get_task()->get_target();
if ($minmaxtouse === false &&
($target != backup::TARGET_CURRENT_ADDING && $target != backup::TARGET_EXISTING_ADDING)) {
// The setting was not found because this setting did not exist at the time the backup was made.