fix tests for www_auth. fix deprecate for callers

This commit is contained in:
Doug Bell 2010-11-03 19:42:20 -05:00
parent 5a2d4d8d03
commit f515d85b2d
5 changed files with 32 additions and 17 deletions

View file

@ -1102,7 +1102,7 @@ sub www_displayLogin {
my $self = shift;
my $method = $_[0] || "login";
my $vars = $_[1];
print "Auth->www_displayLogin\n";
# Automatically set redirectAfterLogin unless we've linked here directly
# or it's already been set to perform another operation
unless (
@ -1288,7 +1288,7 @@ Override this method in your subclass to change the initialization for custom au
sub www_view {
my $self = shift;
return $self->displayLogin;
return $self->www_displayLogin;
}
deprecate init => 'www_view';