cleanup for 1.10 (#1906)
This commit is contained in:
@@ -94,7 +94,8 @@ class PluginManager
|
||||
$json = json_decode(file_get_contents($composer), true);
|
||||
|
||||
$reqVersion = $json['extra']['kimai']['require'] ?? 'unknown';
|
||||
$version = $json['extra']['kimai']['version'] ?? 'unknown';
|
||||
// the version field is required if we use composer to install a plugin via var/packages/
|
||||
$version = $json['extra']['kimai']['version'] ?? ($json['version'] ?? 'unknown');
|
||||
$description = $json['description'] ?? '';
|
||||
|
||||
$homepage = $json['homepage'] ?? Constants::HOMEPAGE . '/store/';
|
||||
|
||||
Reference in New Issue
Block a user