Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
WebGUI::Storage::Image can do.
This commit is contained in:
parent
2b3e88fd63
commit
ee84cc7611
34 changed files with 399 additions and 470 deletions
|
|
@ -17,7 +17,7 @@ package WebGUI::Form::Captcha;
|
|||
use strict;
|
||||
use base 'WebGUI::Form::Text';
|
||||
use WebGUI::International;
|
||||
use WebGUI::Storage::Image;
|
||||
use WebGUI::Storage;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
|
|
@ -134,7 +134,7 @@ Renders a captcha field.
|
|||
|
||||
sub toHtml {
|
||||
my $self = shift;
|
||||
my $storage = WebGUI::Storage::Image->createTemp($self->session);
|
||||
my $storage = WebGUI::Storage->createTemp($self->session);
|
||||
my ($filename, $challenge) = $storage->addFileFromCaptcha;
|
||||
$self->set("size", 6);
|
||||
$self->set("maxlength", 6);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue