removal of dumpSession.
This commit is contained in:
parent
7d1dfed519
commit
4a3121960f
199 changed files with 379 additions and 404 deletions
|
|
@ -33,7 +33,7 @@ the printableStyleId is used instead of the normal styleId for the page.
|
|||
=cut
|
||||
|
||||
sub www_makePrintable {
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
if ($session->form->process("styleId") ne "") {
|
||||
$session->asset->{_properties}{printableStyleTemplateId} = $session->form->process("styleId");
|
||||
}
|
||||
|
|
@ -52,7 +52,7 @@ overriding the style without setting a printable style and on a per user basis.
|
|||
=cut
|
||||
|
||||
sub www_setPersonalStyle {
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
$session->scratch->set("personalStyleId",$session->form->process("styleId"));
|
||||
return "";
|
||||
}
|
||||
|
|
@ -66,7 +66,7 @@ Clears the personalStyleId from the scratch area of the session variable.
|
|||
=cut
|
||||
|
||||
sub www_unsetPersonalStyle {
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
$session->scratch->delete("personalStyleId");
|
||||
return "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue