setVersionLock needs to be done only for tags
This commit is contained in:
parent
ab18af37ef
commit
3ce9198220
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue