Revert "MDL-36838 moodle->mahara mnet SSO failure in FF17"
[moodle.git] / question / format / upgrade.txt
CommitLineData
64679179
TH
1This files describes API changes for question import/export format plugins.
2
4d188926
TH
3=== 2.1.5 / 2.2.3 / 2.3 ===
4
5* The readquestions method used to take a second argument $context. However, at
6 the point where this method was called, it was impossible to know what
7 context the quetsions were going to be saved into, so the value could be
8 wrong. Also, none of the standard question formats were using this argument,
9 so it was removed. See MDL-32220.
10
64679179
TH
11=== 2.2 ===
12
13* The plugin name used to be defined in a string called the same thing as the
14format, with assoicated help strings, for example:
15
16$string['aiken'] = 'Aiken format';
17$string['aiken_help'] = 'This is a simple format ...';
18$string['aiken_link'] = 'qformat/aiken';
19
20This needs to be changed to use the standard string name pluginname, as for
21other plugin types.
22
23$string['pluginname'] = 'Aiken format';
24$string['pluginname_help'] = 'This is a simple format ...';
25$string['pluginname_link'] = 'qformat/aiken';
c2f5e2ab
TH
26
27
28=== 2.3 ===
29
30* This plugin type now supports cron in the standard way. If required, Create a
31 lib.php file containing
32function qformat_mypluginname_cron() {};