Merge branch 'MDL-7339-master' of git://github.com/mickhawkins/moodle

This commit is contained in:
Jun Pataleta 2019-06-11 11:49:36 +08:00
commit 79edcde3f6
8 changed files with 41 additions and 20 deletions

View file

@ -428,7 +428,7 @@ class manager {
$user = null;
if (!empty($CFG->opentogoogle)) {
if (!empty($CFG->opentowebcrawlers)) {
if (\core_useragent::is_web_crawler()) {
$user = guest_user();
}