mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-58908-master' of git://github.com/damyon/moodle
This commit is contained in:
commit
1ff50be21f
@ -247,6 +247,10 @@ class auth extends \auth_plugin_base {
|
|||||||
if (!empty($user->picture)) {
|
if (!empty($user->picture)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!empty($CFG->enablegravatar)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$picture = $this->get_static_user_picture();
|
$picture = $this->get_static_user_picture();
|
||||||
if (empty($picture)) {
|
if (empty($picture)) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user