improved updatemanager
This commit is contained in:
committed by
Steffen Schröder
parent
8500d86d96
commit
be2ce96cac
22
application/core/Update/UpdateData.php
Normal file
22
application/core/Update/UpdateData.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* UpdateStructure
|
||||
*
|
||||
* @author steeffeen & kremsy
|
||||
*/
|
||||
namespace ManiaControl\Update;
|
||||
|
||||
|
||||
class UpdateData {
|
||||
public $version = 0;
|
||||
public $channel = "";
|
||||
public $url = "";
|
||||
public $releaseDate = "";
|
||||
|
||||
public function __construct($updateData) {
|
||||
$this->version = $updateData->version;
|
||||
$this->channel = $updateData->channel;
|
||||
$this->url = $updateData->url;
|
||||
$this->releaseDate = $updateData->release_date;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user