- /**
- * Returns the scheme of the current call
- *
- * @return string
- *
- * @deprecated 2019.06 - use BaseURL->getScheme() instead
- */
- public function getScheme()
- {
- return $this->baseURL->getScheme();
- }
-
- /**
- * Retrieves the Friendica instance base URL
- *
- * @param bool $ssl Whether to append http or https under BaseURL::SSL_POLICY_SELFSIGN
- *
- * @return string Friendica server base URL
- *
- * @deprecated 2019.09 - use BaseUrl->get($ssl) instead
- */
- public function getBaseURL($ssl = false)
- {
- return $this->baseURL->get($ssl);
- }
-
- /**
- * @brief Initializes the baseurl components
- *
- * Clears the baseurl cache to prevent inconsistencies
- *
- * @param string $url
- *
- * @deprecated 2019.06 - use BaseURL->saveByURL($url) instead
- */
- public function setBaseURL($url)
- {
- $this->baseURL->saveByURL($url);
- }
-
- /**
- * Returns the current hostname
- *
- * @return string
- *
- * @deprecated 2019.06 - use BaseURL->getHostname() instead
- */
- public function getHostName()
- {
- return $this->baseURL->getHostname();
- }
-
- /**
- * Returns the sub-path of the full URL
- *
- * @return string
- *
- * @deprecated 2019.06 - use BaseURL->getUrlPath() instead
- */
- public function getURLPath()
- {
- return $this->baseURL->getUrlPath();
- }
-
- /**
- * @brief Removes the base url from an url. This avoids some mixed content problems.
- *
- * @param string $origURL
- *
- * @return string The cleaned url
- *
- * @deprecated 2019.09 - Use BaseURL->remove() instead
- * @see BaseURL::remove()
- */
- public function removeBaseURL(string $origURL)
- {
- return $this->baseURL->remove($origURL);
- }
-