moodleou/moodle-tool_editrolesbycap — pull request #2 by merrill-oakland (2013-10-29 15:42:57+00:00)
Title: Replacing systemcontext with context_system::instance()

In 2.6, we get a fetal error, saying $systemcontext is not set (which then throws a permission error). I'm not exactly sure why, as other setting pages seem to use it too. I've made this simple change which stops it.