- if ($this->committerEmail == 'anonymous@phorkie') {
- return '/phorkie/anonymous.png';
- }
-
- //workaround for https://pear.php.net/bugs/bug.php?id=19384
- require_once 'PEAR/Services/Libravatar.php';
-
- $s = new \Services_Libravatar();
- return $s->url(
- $this->committerEmail,
- array(
- 'size' => 32,
- 'default' => Tools::fullUrl('/phorkie/anonymous.png')
- )
- );