Move :Tab introspection from main:: to RevBank::Plugin
- Exposes the introspection as a public method. - Removes undocumented support for NOABORT special-case.
This commit is contained in:
parent
4f0954b2dc
commit
8956d8a483
3 changed files with 30 additions and 27 deletions
|
@ -43,7 +43,7 @@ sub arg :Tab(USERS) ($self, $cart, $arg, @) {
|
|||
}
|
||||
|
||||
# finish
|
||||
sub reason :Tab(bbq,NOABORT) ($self, $cart, $reason, @) {
|
||||
sub reason :Tab(bbq) ($self, $cart, $reason, @) {
|
||||
return REJECT, "'$reason' is a username, not a description :)."
|
||||
if parse_user($reason);
|
||||
return REJECT, "'$reason' is an amount, not a description :)."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue