mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 00:20:37 +01:00
Merge branch 'master-MDL-66805-search' of https://github.com/kristian-94/moodle
This commit is contained in:
commit
212764c4af
@ -48,6 +48,9 @@ if (!empty($CFG->forcelogin)) {
|
||||
require_login();
|
||||
}
|
||||
|
||||
// Unlock the session during a search.
|
||||
\core\session\manager::write_close();
|
||||
|
||||
require_capability('moodle/search:query', $context);
|
||||
|
||||
$searchrenderer = $PAGE->get_renderer('core_search');
|
||||
|
Loading…
x
Reference in New Issue
Block a user