Commit 86ba13ee authored by Manfred Kutas's avatar Manfred Kutas

Merge pull request #18 in ZP/z-push from...

Merge pull request #18 in ZP/z-push from feature/ZP-655-provide-getter-function-to-retrieve to develop

* commit '4c50ac89':
  ZP-655 Added GetUserAgent to DeviceManager. Released under the Affero GNU General Public License (AGPL) version 3.
parents 2f0206ed 4c50ac89
......@@ -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