From dd08794131f38c0d64342656f982097e24db7fc9 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Thu, 11 Jul 2019 20:33:10 -0100 Subject: cleaning source Signed-off-by: Maxence Lange --- lib/Service/ConfigService.php | 67 ------------------------------------------- 1 file changed, 67 deletions(-) (limited to 'lib') diff --git a/lib/Service/ConfigService.php b/lib/Service/ConfigService.php index 84458d15..c6808f8d 100644 --- a/lib/Service/ConfigService.php +++ b/lib/Service/ConfigService.php @@ -262,12 +262,6 @@ class ConfigService { } - // - // - // - // - // - /** * getCloudHost - cloud.example.com * @@ -314,18 +308,6 @@ class ConfigService { } - -// -// /** -// * @return string -// */ -// public function getSocialUrl2(): string { -// $url = $this->urlGenerator->linkToRoute('social.Navigation.navigate'); -// -// return $url; -// } - - /** * getSocialAddress - example.com * @@ -381,55 +363,6 @@ class ConfigService { } - // - // - // - // - // - // - // - - -// /** -// * @param string $cloudAddress -// */ -// public function setCloudUrl(string $cloudAddress) { -// $this->setAppValue(self::CLOUD_ADDRESS, $cloudAddress); -// } -// -// /** -// * @param bool $host -// * -// * @return string -// * @throws SocialAppConfigException -// */ -// public function getCloudUrl(bool $host = false) { -// $address = $this->getAppValue(self::CLOUD_ADDRESS); -// if ($address === '') { -// throw new SocialAppConfigException(); -// } -// -// // fixing address for alpha2 -// if (substr($address, -10) === '/index.php') { -// $address = substr($address, 0, -10); -// $this->setCloudUrl($address); -// } -// -// if ($host === true) { -// $parsed = parse_url($address); -// $result = $this->get('host', $parsed, ''); -// $port = $this->get('port', $parsed, ''); -//// if ($port !== '') { -//// $result .= ':' . $port; -//// } -// -// return $result; -// } -// -// return $this->withoutEndSlash($address, false, false); -// } - - /** * @param string $path * @param bool $generateId -- cgit v1.2.3