Skip to content

Commit bf01060

Browse files
committed
Define PLUGIN_VERSION in SourcePlugin
This is for consistency with the VCS-specific plugins
1 parent 9d63c3b commit bf01060

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Source/Source.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ class SourcePlugin extends MantisSourceBase {
1313

1414
static $cache = array();
1515

16+
const PLUGIN_VERSION = self::FRAMEWORK_VERSION;
17+
1618
/**
1719
* Changeset link matching pattern.
1820
* format: '<type>:<reponame>:<revision>:', where
@@ -28,7 +30,7 @@ function register() {
2830
$this->name = plugin_lang_get( 'title' );
2931
$this->description = plugin_lang_get( 'description' );
3032

31-
$this->version = self::FRAMEWORK_VERSION;
33+
$this->version = self::PLUGIN_VERSION;
3234
$this->requires = array(
3335
'MantisCore' => self::MANTIS_VERSION,
3436
);

0 commit comments

Comments
 (0)