changed construcor in plugin class

This commit is contained in:
kremsy 2013-11-09 13:00:53 +01:00
parent a471051b39
commit 4a0ed1836d
1 changed files with 4 additions and 5 deletions

View File

@ -22,15 +22,14 @@ namespace ManiaControl;
public function __construct($mControl, $name){
public function __construct($mControl, $name, $version = 0, $author = '', $updateUrl = ''){
$this->mControl = $mControl;
$this->name = $name;
$this->version = 0;
$this->author = '';
$this->updateUrl = '';
$this->version = $version;
$this->author = $author;
$this->updateUrl = $updateUrl;
}
/**
* Reserves manialinks on the ManialinkIdHandler
*