Move "getUserAgent()" to "HTTPRequest" class
This commit is contained in:
committed by
Hypolite Petovan
parent
cebdcb6599
commit
57587efe58
16
src/App.php
16
src/App.php
@@ -240,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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user