more session changes

This commit is contained in:
JT Smith 2006-01-02 02:58:29 +00:00
parent f429daa942
commit eb98aaaf29
6 changed files with 48 additions and 48 deletions

View file

@ -57,7 +57,7 @@ overriding the style without setting a printable style and on a per user basis.
sub www_setPersonalStyle {
my $session = shift;
WebGUI::Session::setScratch("personalStyleId",$session->form->process("styleId"));
$session->scratch->set("personalStyleId",$session->form->process("styleId"));
return "";
}
@ -71,7 +71,7 @@ Clears the personalStyleId from the scratch area of the session variable.
sub www_unsetPersonalStyle {
my $session = shift;
WebGUI::Session::deleteScratch("personalStyleId");
$session->scratch->delete("personalStyleId");
return "";
}