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
|
@ -29,8 +29,6 @@ sub _read_warnings {
|
|||
} grep /\S/, grep !/^\s*#/, readline $fh;
|
||||
}
|
||||
|
||||
sub command { NEXT }
|
||||
|
||||
sub hook_add_entry {
|
||||
my ($class, $cart, $entry) = @_;
|
||||
return if not $entry->has_attribute('product_id'); # skip unlisted, deposit, give, take
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue