summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-25 21:44:36 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-02 09:14:41 +0100
commitdad6470baa817a796de7e1b6d27daf6d24519096 (patch)
treeaeb21531d7465b8c2322076f5303744548778177 /lib/public
parentc91192fb7324c246d3af95ae83ad9ac1ae0a8ec1 (diff)
downloadnextcloud-server-dad6470baa817a796de7e1b6d27daf6d24519096.tar.gz
nextcloud-server-dad6470baa817a796de7e1b6d27daf6d24519096.zip
Add IUser::getAvatarImage() for easy access
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/iuser.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/iuser.php b/lib/public/iuser.php
index 1e52cd59036..f6caef2ba1b 100644
--- a/lib/public/iuser.php
+++ b/lib/public/iuser.php
@@ -152,4 +152,13 @@ interface IUser {
* @since 9.0.0
*/
public function getEMailAddress();
+
+ /**
+ * get the avatar image if it exists
+ *
+ * @param int $size
+ * @return IImage|null
+ * @since 9.0.0
+ */
+ public function getAvatarImage($size);
}