Commit e0876415 authored by Petr Skoda's avatar Petr Skoda
Browse files

add missing extra caps

parent b6931b14
......@@ -42,6 +42,15 @@ function book_get_numbering_types() {
BOOK_NUM_INDENTED => get_string('numbering3', 'mod_book') );
}
/**
* Returns all other caps used in module
* @return array
*/
function book_get_extra_capabilities() {
// used for group-members-only
return array('moodle/site:accessallgroups');
}
/**
* Add book instance.
*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment