[MODULES] Fix VERSION constant to MODULE_VERSION in various modules

This commit is contained in:
tenma
2019-10-30 23:52:14 +00:00
parent aa994ee4fb
commit 01f6d83b86
6 changed files with 10 additions and 224 deletions

View File

@@ -32,7 +32,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
class AuthCryptModule extends AuthenticationModule
{
const PLUGIN_VERSION = '2.0.0';
const MODULE_VERSION = '2.0.0';
protected $hash = '$6$'; // defaults to SHA512, i.e. '$6$', in onInitializeModule()
protected $statusnet = true; // if true, also check StatusNet style password hash
protected $overwrite = true; // if true, password change means overwrite with crypt()
@@ -177,7 +177,7 @@ class AuthCryptModule extends AuthenticationModule
public function onModuleVersion(array &$versions): bool
{
$versions[] = array('name' => 'AuthCrypt',
'version' => self::PLUGIN_VERSION,
'version' => self::MODULE_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AuthCrypt',
'rawdescription' =>