diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2023-07-10 10:57:19 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2023-07-10 10:57:26 -0100 |
commit | b9a25ce4d52d611c9e861990bcf5aa93f68c4203 (patch) | |
tree | 69cafe027c18bb06bf048d70ca550c24a879ef74 /lib/public | |
parent | 396a80a39bd917b5bcae883534abba6cf55681bb (diff) | |
download | nextcloud-server-b9a25ce4d52d611c9e861990bcf5aa93f68c4203.tar.gz nextcloud-server-b9a25ce4d52d611c9e861990bcf5aa93f68c4203.zip |
display displayname on federated shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Federation/ICloudIdManager.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Federation/ICloudIdManager.php b/lib/public/Federation/ICloudIdManager.php index 1612c03ba4a..52920751739 100644 --- a/lib/public/Federation/ICloudIdManager.php +++ b/lib/public/Federation/ICloudIdManager.php @@ -62,4 +62,14 @@ interface ICloudIdManager { * @since 12.0.0 */ public function isValidCloudId(string $cloudId): bool; + + /** + * remove scheme/protocol from an url + * + * @param string $url + * + * @return string + * @since 28.0.0 + */ + public function removeProtocolFromUrl(string $url): string; } |