setVersionLock needs to be done only for tags

This commit is contained in:
Doug Bell 2010-11-10 14:04:36 -06:00
parent ab18af37ef
commit 3ce9198220
2 changed files with 2 additions and 1 deletions

View file

@ -102,7 +102,6 @@ sub addRevision {
my $newVersion = WebGUI::Asset->newById($session, $self->getId, $now);
$newVersion->setSkipNotification if ($options->{skipNotification});
$newVersion->updateHistory("created revision");
$newVersion->setVersionLock;
$newVersion->update(\%mergedProperties);
return $newVersion;