summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-07-11 20:33:10 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-07-11 20:33:10 -0100
commitdd08794131f38c0d64342656f982097e24db7fc9 (patch)
tree95b11ab049860d3e0508cf4590f5d33137acd66d /lib
parentc64f502718e8d31a4ee7cf1a00cb0cdd260e9eff (diff)
cleaning source
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/ConfigService.php67
1 files changed, 0 insertions, 67 deletions
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