Fixed a bug which caused empty version tags to not be deleted because of a wronhg method call.
This commit is contained in:
parent
1229ebb984
commit
b6ec0316f9
2 changed files with 3 additions and 2 deletions
|
|
@ -665,7 +665,7 @@ sub www_manageRevisionsInTag {
|
|||
|
||||
# If no revisions remain, delete the version tag
|
||||
if ( $tag->getRevisionCount <= 0 ) {
|
||||
$tag->delete;
|
||||
$tag->rollback;
|
||||
return www_manageVersions( $session );
|
||||
}
|
||||
}
|
||||
|
|
@ -693,7 +693,7 @@ sub www_manageRevisionsInTag {
|
|||
|
||||
# If no revisions remain, delete the version tag
|
||||
if ( $tag->getRevisionCount <= 0 ) {
|
||||
$tag->delete;
|
||||
$tag->rollback;
|
||||
return www_manageVersions( $session );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue