X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp.php;h=017661c4ca666081ad997b5e5d97ad7ce3ed4d08;hb=0046e62077ff71559624f48667d844b12efcf65b;hp=8b276414e3c82cdc76cba9e12902ef25fd7c78d6;hpb=36996dd42204a5c29f1c64727137ed4981b4fc70;p=friendica.git diff --git a/src/App.php b/src/App.php index 8b276414e3..017661c4ca 100644 --- a/src/App.php +++ b/src/App.php @@ -87,11 +87,6 @@ class App */ private $baseURL; - /** - * @var bool true, if the call is from the Friendica APP, otherwise false - */ - private $isFriendicaApp; - /** * @var bool true, if the call is from an backend node (f.e. worker) */ @@ -257,8 +252,6 @@ class App $this->profiler = $profiler; $this->logger = $logger; - $this->checkFriendicaApp(); - $this->profiler->reset(); $this->reload(); @@ -601,28 +594,6 @@ class App $this->getBaseURL(); } - /** - * Checks, if the call is from the Friendica App - * - * Reason: - * The friendica client has problems with the GUID in the notify. this is some workaround - */ - private function checkFriendicaApp() - { - // Friendica-Client - $this->isFriendicaApp = isset($_SERVER['HTTP_USER_AGENT']) && $_SERVER['HTTP_USER_AGENT'] == 'Apache-HttpClient/UNAVAILABLE (java 1.4)'; - } - - /** - * Is the call via the Friendica app? (not a "normale" call) - * - * @return bool true if it's from the Friendica app - */ - public function isFriendicaApp() - { - return $this->isFriendicaApp; - } - /** * @brief Checks if the site is called via a backend process *