diff --git a/application/core/plugin.php b/application/core/plugin.php index 5e25f90f..1f5c3aa4 100644 --- a/application/core/plugin.php +++ b/application/core/plugin.php @@ -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 *