Expose the backend of IUser
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
df4fa2695e
commit
1fd640b40b
|
@ -302,6 +302,10 @@ class User implements IUser {
|
||||||
return get_class($this->backend);
|
return get_class($this->backend);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getBackend() {
|
||||||
|
return $this->backend;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* check if the backend allows the user to change his avatar on Personal page
|
* check if the backend allows the user to change his avatar on Personal page
|
||||||
*
|
*
|
||||||
|
|
|
@ -108,6 +108,13 @@ interface IUser {
|
||||||
*/
|
*/
|
||||||
public function getBackendClassName();
|
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
|
* check if the backend allows the user to change his avatar on Personal page
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue