From df6fc6cc70ceb06e0b9d8a7ff9ce4cbf2f74e710 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Mon, 30 Nov 2015 13:57:54 +0100 Subject: Add the user's cloud id to the vCard --- apps/files_sharing/lib/helper.php | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'apps/files_sharing/lib/helper.php') diff --git a/apps/files_sharing/lib/helper.php b/apps/files_sharing/lib/helper.php index a804737c490..391b491e1ff 100644 --- a/apps/files_sharing/lib/helper.php +++ b/apps/files_sharing/lib/helper.php @@ -310,20 +310,4 @@ class Helper { \OC::$server->getConfig()->setSystemValue('share_folder', $shareFolder); } - /** - * remove protocol from URL - * - * @param string $url - * @return string - */ - public static function removeProtocolFromUrl($url) { - if (strpos($url, 'https://') === 0) { - return substr($url, strlen('https://')); - } else if (strpos($url, 'http://') === 0) { - return substr($url, strlen('http://')); - } - - return $url; - } - } -- cgit v1.2.3