From 4a0ed1836d8253603750c69d2c6e1863c280c79a Mon Sep 17 00:00:00 2001 From: kremsy Date: Sat, 9 Nov 2013 13:00:53 +0100 Subject: [PATCH] changed construcor in plugin class --- application/core/plugin.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 *