X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp.php;h=65ae3fe2f47389583dc0286733f1d4a2c528b990;hb=24a82110fd45a8422efee0677b7acc214aa66e9a;hp=892a4c7790e4955283f13f05de000326e3f92645;hpb=16c2705016554289b8e2644d8f2093fb0f16178a;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. *