|
|
|
In Moodle code there are a lot of calls of this type:
get_context_instance(CONTEXT_SYSTEM, SITEID)
And, when requesting for CONTEXT_SYSTEM we don't need to specify SITEID any more.
So, all the sentences above should be changed to:
get_context_instance(CONTEXT_SYSTEM)
There are aprox. 130 changes to perform, distributed along aprox. 90 files. I would suggest to do the change progressively, fixing 3-4 files each day, both in 19_STABLE and HEAD.
Ciao :-)
|
|
Description
|
In Moodle code there are a lot of calls of this type:
get_context_instance(CONTEXT_SYSTEM, SITEID)
And, when requesting for CONTEXT_SYSTEM we don't need to specify SITEID any more.
So, all the sentences above should be changed to:
get_context_instance(CONTEXT_SYSTEM)
There are aprox. 130 changes to perform, distributed along aprox. 90 files. I would suggest to do the change progressively, fixing 3-4 files each day, both in 19_STABLE and HEAD.
Ciao :-) |
Show » |
committed 2 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 22/Apr/08 02:08 PM
MDL-14460, fix get_context_instance, see tracker
|
|
|
committed 4 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 22/Apr/08 02:16 PM
MDL-14460, fix get_context_instance, see tracker
|
|
|
committed 6 files to 'Moodle CVS' - 22/Apr/08 02:24 PM
MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE, see tracker.
|
|
|
committed 6 files to 'Moodle CVS' - 23/Apr/08 04:07 PM
MDL-14460, fix get_context_instance, see tracker
|
|
|
committed 6 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 23/Apr/08 04:11 PM
MDL-14460, fix get_context_instance, see tracker
|
|
|
committed 5 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 24/Apr/08 04:35 PM
committed 5 files to 'Moodle CVS' - 24/Apr/08 04:39 PM
MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE
|
|
|
committed 2 files to 'Moodle CVS' - 26/Apr/08 07:06 PM
MDL-14460, fix get_context_instance, see tracker
|
|
|
committed 2 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 26/Apr/08 07:07 PM
MDL-14460, fix get_context_instance, see tracker
|
|
|
committed 5 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 30/Apr/08 12:45 PM
committed 5 files to 'Moodle CVS' - 30/Apr/08 12:46 PM
"MDL-14460,fix get_context_instance, merged from MOODLE_19_STABLE"
|
|
|
committed 8 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 01/May/08 02:02 PM
committed 8 files to 'Moodle CVS' - 01/May/08 02:07 PM
"MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE"
|
|
|
committed 49 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 02/May/08 12:07 PM
"MDL-14460, fix all the other get_context_instance,(use sed replace them), see tracker"
|
|
|
committed 49 files to 'Moodle CVS' - 02/May/08 12:37 PM
"MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE"
|
|
|
|