Remove requirement for dummy command method in hook-only plugins
This commit is contained in:
parent
cf8ce7dc52
commit
6850ed22be
15 changed files with 8 additions and 27 deletions
|
@ -1,10 +1,14 @@
|
|||
package RevBank::Plugin;
|
||||
use strict;
|
||||
require RevBank::Global;
|
||||
|
||||
sub new {
|
||||
my ($class) = @_;
|
||||
return bless { }, $class;
|
||||
}
|
||||
sub command {
|
||||
return RevBank::Global::NEXT();
|
||||
}
|
||||
|
||||
|
||||
1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue