some comment cleanups

This commit is contained in:
Graham Knop 2008-09-15 21:51:46 +00:00
parent 6278278508
commit 1e54cf0458
8 changed files with 10 additions and 14 deletions

View file

@ -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");

View file

@ -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;