refactored WebGUI::Id to use new session api

This commit is contained in:
JT Smith 2006-01-11 23:34:02 +00:00
parent 2735385050
commit 925906ca7e
22 changed files with 130 additions and 44 deletions

View file

@ -63,7 +63,7 @@ sub addFileFromCaptcha {
my $challenge;
srand;
$challenge.= ('A'..'Z')[rand(26)] foreach (1..6);
my $filename = "captcha.".WebGUI::Id::generate().".png";
my $filename = "captcha.".$self->session->id->generate().".png";
my $image = Image::Magick->new();
$image->Set(size=>'105x26');
$image->ReadImage('xc:white');