- *
- * @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($origURL)
- {
- return $this->baseURL->remove($origURL);
- }
-
- /**
- * Returns the current UserAgent as a String
- *
- * @return string the UserAgent as a String
- * @throws HTTPException\InternalServerErrorException
- */
- public function getUserAgent()
- {
- return
- FRIENDICA_PLATFORM . " '" .
- FRIENDICA_CODENAME . "' " .
- FRIENDICA_VERSION . '-' .
- DB_UPDATE_VERSION . '; ' .
- $this->getBaseURL();
- }
-
- /**
- * @deprecated 2019.09 - use Core\Process->isMaxProcessesReached() instead
- */
- public function isMaxProcessesReached()
- {
- return $this->process->isMaxProcessesReached();
- }
-
- /**
- * @deprecated 2019.09 - use Core\Process->isMinMemoryReached() instead