various miscellaneous stuff
This commit is contained in:
parent
22039cb312
commit
00074fd16d
21 changed files with 14 additions and 7 deletions
|
|
@ -14,8 +14,13 @@ package WebGUI::Asset::Redirect;
|
|||
|
||||
=cut
|
||||
|
||||
use strict;
|
||||
use WebGUI::Asset;
|
||||
use WebGUI::HTTP;
|
||||
use WebGUI::Session;
|
||||
|
||||
our @ISA = qw(WebGUI::Asset);
|
||||
|
||||
|
||||
=head1 NAME
|
||||
|
||||
|
|
@ -124,9 +129,9 @@ sub www_view {
|
|||
my $self = shift;
|
||||
if ($session{var}{adminOn}) {
|
||||
return $self->www_edit;
|
||||
} else {
|
||||
|
||||
}
|
||||
WebGUI::HTTP::setRedirect($self->get("redirectUrl"));
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue