diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-06-02 15:16:21 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-06-02 15:16:21 +0200 |
commit | 70f0cf67a53de5e301e4e773f552b2296dfabaac (patch) | |
tree | 15097281db60bc73a51fd18c81aa356fcef3737a /apps/files_sharing/settings-personal.php | |
parent | 6e5ed810644efd92eec394be5e1f6f202efe74e0 (diff) | |
download | nextcloud-server-70f0cf67a53de5e301e4e773f552b2296dfabaac.tar.gz nextcloud-server-70f0cf67a53de5e301e4e773f552b2296dfabaac.zip |
L10n for federated cloud ID and rtrim '/' on ID
Diffstat (limited to 'apps/files_sharing/settings-personal.php')
-rw-r--r-- | apps/files_sharing/settings-personal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/settings-personal.php b/apps/files_sharing/settings-personal.php index b9ae791e8c7..1aff784b488 100644 --- a/apps/files_sharing/settings-personal.php +++ b/apps/files_sharing/settings-personal.php @@ -24,7 +24,7 @@ $uid = \OC::$server->getUserSession()->getUser()->getUID(); $server = \OC::$server->getURLGenerator()->getAbsoluteURL('/'); -$cloudID = $uid . '@' . \OCA\Files_Sharing\Helper::removeProtocolFromUrl($server); +$cloudID = $uid . '@' . rtrim(\OCA\Files_Sharing\Helper::removeProtocolFromUrl($server), '/'); $tmpl = new OCP\Template('files_sharing', 'settings-personal'); $tmpl->assign('cloudId', $cloudID); |