cleaning source

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/627/head
Maxence Lange 2019-07-11 20:33:10 -01:00
rodzic c64f502718
commit dd08794131
1 zmienionych plików z 0 dodań i 67 usunięć

Wyświetl plik

@ -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