improved metadata properties of plugin class

This commit is contained in:
Steffen Schröder
2013-12-03 18:50:30 +01:00
parent ad6574b523
commit 35a7232894
6 changed files with 36 additions and 63 deletions

View File

@ -47,10 +47,11 @@ class KarmaPlugin extends Plugin implements CallbackListener {
public function __construct(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl;
$this->name = 'Karma Plugin';
$this->author = 'steeffeen';
$this->version = self::VERSION;
$this->description = 'Plugin offering Karma Voting for Maps.';
// Plugin details
self::$name = 'Karma Plugin';
self::$author = 'steeffeen';
self::$version = self::VERSION;
self::$description = 'Plugin offering Karma Voting for Maps.';
// Init database
$this->initTables();