mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Merge branch 'MDL-7339-master' of git://github.com/mickhawkins/moodle
This commit is contained in:
commit
79edcde3f6
8 changed files with 41 additions and 20 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue