mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 20:10:37 -05:00
Directly return cloud id from user
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
4798a29442
commit
41ca0af614
1 changed files with 1 additions and 1 deletions
|
|
@ -466,7 +466,7 @@ class User implements IUser {
|
|||
$uid = $this->getUID();
|
||||
$server = $this->urlGenerator->getAbsoluteURL('/');
|
||||
$server = rtrim($this->removeProtocolFromUrl($server), '/');
|
||||
return \OC::$server->getCloudIdManager()->getCloudId($uid, $server)->getId();
|
||||
return $uid . '@' . $server;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue