some comment cleanups
This commit is contained in:
parent
6278278508
commit
1e54cf0458
8 changed files with 10 additions and 14 deletions
|
|
@ -382,7 +382,7 @@ sub www_importProducts {
|
|||
}
|
||||
else {
|
||||
$status_message = $i18n->get('import successful');
|
||||
##Copy and paste from Asset.pm, www_editSave
|
||||
##Copy and paste from WebGUI::Asset, www_editSave
|
||||
if ($self->session->setting->get("autoRequestCommit")) {
|
||||
# Make sure version tag hasn't already been committed by another process
|
||||
my $versionTag = WebGUI::VersionTag->getWorking($self->session, "nocreate");
|
||||
|
|
|
|||
|
|
@ -504,10 +504,6 @@ sub view {
|
|||
$self->session->errorHandler->warn("changed mimetype: " . $self->get("httpHeader"));
|
||||
}
|
||||
|
||||
# Note, we still process our template below even though it will never
|
||||
# be displayed if the redirectURL is set. Not sure how important it is
|
||||
# to do it this way, but it certainly is the least obtrusive to default
|
||||
# webgui flow. This feature currently requires a patched WebGUI.pm file.
|
||||
if ($self->session->form->process('redirectURL')) {
|
||||
$self->session->http->setRedirect($self->session->form->process('redirectURL'));
|
||||
return undef;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue