Remove status description from Session/Http, and update all users of setStatus.
This commit is contained in:
parent
4cf75513d3
commit
19c2c5fa1c
16 changed files with 50 additions and 85 deletions
|
|
@ -614,7 +614,7 @@ sub checkView {
|
|||
return "chunked";
|
||||
}
|
||||
elsif ($self->get("state") ne "published") { # tell em it doesn't exist anymore
|
||||
$http->setStatus("410");
|
||||
$http->setStatus(410);
|
||||
my $notFound = WebGUI::Asset->getNotFound($self->session);
|
||||
$self->session->asset($notFound);
|
||||
return $notFound->www_view;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue