glennansley/moodle-report_rolesmigration — pull request #5 by wiktorwandachowicz (2012-02-14 19:15:41+00:00)
Title: Added export/import for role context levels (new in Moodle 2.1)

Hello,

We are using your "rolesmigration" report/plugin in our multi-server installation at Technical University of Lodz, Poland. This is a university-wide project called WIKAMP (Wirtualny Kampus, aka "Virtual Campus").

During our last year's upgrade to Moodle 2.1 I've added an option to export/import roles contexts (a newly introduced function of Moodle 2.1). Today I've commited my version to github.

Please have a look and maybe incorporate these changes into mainline. Keep in mind that this extra function would not work correctly in Moodle 2.0, as there is no concept of role context yet (added in 2.1).

Best regards,
Wiktor Wandachowicz
--
Teacher & researcher
Technical University of Lodz, Poland
Institute of Computer Science