bostelm/moodle-mod_scheduler — pull request #2 by vaughany (2012-07-04 16:31:03+00:00)
Title: has_capability() has no context.

Context was provided earlier in the script with a different name ($coursecontext), but $context was used in the has_capability call.

(Apologies for the whitespace changes. My editor culls whitespace when saving.)