diff options
| -rw-r--r-- | lib/classes/StudygroupAvatar.class.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/classes/StudygroupAvatar.class.php b/lib/classes/StudygroupAvatar.class.php index 3ad94db..c889f5d 100644 --- a/lib/classes/StudygroupAvatar.class.php +++ b/lib/classes/StudygroupAvatar.class.php @@ -17,6 +17,23 @@ class StudygroupAvatar extends CourseAvatar /** * @inheritdoc */ + static function getAvatar($id) + { + return new StudygroupAvatar($id); + } + + /** + * @inheritdoc + */ + static function getNobody() + { + return new StudygroupAvatar('nobody'); + } + + + /** + * @inheritdoc + */ protected function generateFileName($user_id, $size, $ext = 'png', $retina = false) { if ($user_id === Avatar::NOBODY) { |
