Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-10-11 22:55:42 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-11-02 15:44:45 +0300
commit1fd640b40b9129b6b285bcab4ba085129a50836e (patch)
treed5b918a55f67330dfef90c62fe7cca097bc7efcd /lib/public/IUser.php
parentdf4fa2695e2e4b50e86f5eec8dc8f56810f1be2e (diff)
Expose the backend of IUser
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/IUser.php')
-rw-r--r--lib/public/IUser.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/IUser.php b/lib/public/IUser.php
index 3d8515a5e03..a3d7c6b71a6 100644
--- a/lib/public/IUser.php
+++ b/lib/public/IUser.php
@@ -109,6 +109,13 @@ interface IUser {
public function getBackendClassName();
/**
+ * Get the backend for the current user object
+ *
+ * @since 15.0.0
+ */
+ public function getBackend();
+
+ /**
* check if the backend allows the user to change his avatar on Personal page
*
* @return bool