mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
0468976c9a
The API was changed slightly so that has_capability now takes the whole $context object (we almost always have it anyway) The $kill thing was removed. If you want to assert a capability then use: require_capability('capname', $context); with optional variables to modify the error message Misc bugs here and there also removed and code tidied