X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp.php;h=65ae3fe2f47389583dc0286733f1d4a2c528b990;hb=a42217eae4b503a1b7c1d9987b66c1ae5aa6afe8;hp=892a4c7790e4955283f13f05de000326e3f92645;hpb=3f57e16a1a49326a0c13a88a10c7a6bfb87c4878;p=friendica.git diff --git a/src/App.php b/src/App.php index 892a4c7790..65ae3fe2f4 100644 --- a/src/App.php +++ b/src/App.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica; use Exception; @@ -25,9 +42,6 @@ use Friendica\Util\Strings; use Psr\Log\LoggerInterface; /** - * - * class: App - * * Our main application structure for the life of this page. * * Primarily deals with the URL that got us here @@ -226,22 +240,6 @@ class App } } - /** - * 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->baseURL->get(); - } - /** * Returns the current theme name. May be overriden by the mobile theme name. *