Skip to content
  • moodler's avatar
    SWEEPING CLEANUP · 0468976c
    moodler authored
    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
    0468976c