Commit 4c50ac89 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-655 Added GetUserAgent to DeviceManager. Released under the

Affero GNU General Public License (AGPL) version 3.
parent 2f0206ed
......@@ -753,6 +753,17 @@ class DeviceManager {
return ($announced != $latest);
}
/**
* Returns the User Agent. This data is consolidated with data from Request::GetUserAgent()
* and the data saved in the ASDevice.
*
* @access public
* @return string
*/
public function GetUserAgent() {
return $this->device->GetDeviceUserAgent();
}
/**----------------------------------------------------------------------------------------------------------
* private DeviceManager methods
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment