add default plugin version information
This commit is contained in:
parent
9fc63a56a2
commit
9693b2cf2f
@ -104,5 +104,16 @@ class Plugin
|
||||
{
|
||||
$this->log(LOG_DEBUG, $msg);
|
||||
}
|
||||
|
||||
function onPluginVersion(&$versions)
|
||||
{
|
||||
$cls = get_class($this);
|
||||
$name = mb_substr($cls, 0, -6);
|
||||
|
||||
$versions[] = array('name' => $name,
|
||||
'version' => _('Unknown'));
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user