[MODULES] Fix VERSION constant to MODULE_VERSION in various modules

This commit is contained in:
tenma
2019-10-30 23:52:14 +00:00
committed by Diogo Peralta Cordeiro
parent d69f479cba
commit 06d7e5bf06
6 changed files with 10 additions and 224 deletions

View File

@@ -31,7 +31,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
class ActivityVerbModule extends Module
{
const PLUGIN_VERSION = '2.0.0';
const MODULE_VERSION = '2.0.0';
public function onRouterInitialized(URLMapper $m)
{
@@ -60,7 +60,7 @@ class ActivityVerbModule extends Module
public function onModuleVersion(array &$versions): bool
{
$versions[] = array('name' => 'Activity Verb',
'version' => self::PLUGIN_VERSION,
'version' => self::MODULE_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'https://www.gnu.org/software/social/',
'rawdescription' =>