Merge branch 'MDL-74785' of https://github.com/danmarsden/moodle
This commit is contained in:
@@ -43,4 +43,13 @@ class activity extends \core_search\base_activity {
|
||||
public function uses_file_indexing() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the fileareas that should be indexed.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function get_search_fileareas() {
|
||||
return ['intro', 'content'];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user