mirror of
https://github.com/moodle/moodle.git
synced 2025-05-04 07:08:51 +02:00
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