Add opt-out setting for Gravatar integration

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst
2017-12-04 13:01:57 +01:00
parent 1d77fc9761
commit 10c7e04d05
24 changed files with 732 additions and 39 deletions

View File

@ -38,6 +38,15 @@ class GravatarSource implements IAvatarSource {
$this->clientService = $clientService;
}
/**
* Does this source query external services?
*
* @return bool
*/
public function isExternal() {
return true;
}
/**
* @param string $email sender email address
* @param AvatarFactory $factory