Deprecate nyan, game, and creating users via deposit.
This commit is contained in:
parent
07acf7f76e
commit
da11114b8f
6 changed files with 48 additions and 3 deletions
|
@ -14,6 +14,12 @@ sub command :Tab(deposit) {
|
|||
if ($cart->select_items('is_deposit')) {
|
||||
# No other plugin recognised the input, so it must be a new user.
|
||||
$self->{new_user} = $command;
|
||||
|
||||
my $x = RevBank::Plugin::adduser->can("command")
|
||||
? "Please use \e[4madduser\e[0m instead."
|
||||
: "Please enable the \e[4madduser\e[0m plugin.";
|
||||
warn "Creating accounts with \e[4mdeposit\e[m is deprecated. $x\n";
|
||||
|
||||
return "Add new account for user '$command'?", \&create;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!perl
|
||||
|
||||
warn "The game plugin is deprecated and will be removed from a future revbank";
|
||||
|
||||
#Scan-foo-game for Revbank - (C)Edwin Eefting (psy0rz)
|
||||
|
||||
#Released under GPL or whatever revbank uses as license :)
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!perl
|
||||
|
||||
warn "The nyan plugin is deprecated and will be removed from a future revbank";
|
||||
|
||||
HELP "nyan" => "Nyan!";
|
||||
|
||||
sub command :Tab(nyan,nyanutf8) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue