Commit b99c1b15 authored by Vincent Sherwood's avatar Vincent Sherwood Committed by Ralf Becker

ZP-805 Renamed constructor ASDevice() to __construct(). Released under the...

ZP-805 Renamed constructor ASDevice() to __construct(). Released under the Affero GNU General Public License (AGPL) version 3.
parent e729b422
......@@ -95,7 +95,7 @@ class ASDevice extends StateObject {
* @access public
* @return
*/
public function ASDevice($devid, $devicetype, $getuser, $useragent) {
public function __construct($devid, $devicetype, $getuser, $useragent) {
$this->deviceid = $devid;
$this->devicetype = $devicetype;
list ($this->deviceuser, $this->domain) = Utils::SplitDomainUser($getuser);
......
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