mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-32220 question import: files sometimes stored in the wrong context.
Sadly, this involves a small API change, but I don't believe anyone was using the argument I had to remove (because we were sometimes passing a wrong value, and there is not way to compute the right value at that point in the code.) Also sadly, the code to compute the context we are importing into is now rather spaghetti-like, but it works. Conflicts: question/format/examview/format.php question/format/learnwise/format.php question/format/webct/format.php Conflicts: question/format/upgrade.txt
- Loading branch information
Showing
5 changed files
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
This files describes API changes for question import/export format plugins. | ||
|
||
=== 2.1.5 / 2.2.3 / 2.3 === | ||
|
||
* The readquestions method used to take a second argument $context. However, at | ||
the point where this method was called, it was impossible to know what | ||
context the quetsions were going to be saved into, so the value could be | ||
wrong. Also, none of the standard question formats were using this argument, | ||
so it was removed. See MDL-32220. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters