added min and max plugin version in plugin install / update

This commit is contained in:
kremsy committed 2017-03-31 22:32:12 +02:00
1 parent bd5e4b922e
commit a0639c477a
2 files changed
+25 -4

No files matched your search

+5
View File
@@ -21,6 +21,8 @@ class PluginUpdateData {
public $version = null;
public $zipfile = null;
public $url = null;
public $minManiaControlVersion = null;
public $maxManiaControlVersion = null;
/**
* Construct new plugin update data instance
@@ -37,6 +39,9 @@ class PluginUpdateData {
$this->version = $updateData->currentVersion->version;
$this->zipfile = $updateData->currentVersion->zipfile;
$this->url = $updateData->currentVersion->url;
$this->minManiaControlVersion = $updateData->currentVersion->min_mc_version;
$this->maxManiaControlVersion = $updateData->currentVersion->max_mc_version;
}
}