Fixed a bug which caused empty version tags to not be deleted because of a wronhg method call.

This commit is contained in:
Martin Kamerbeek 2009-06-12 09:27:35 +00:00
parent 1229ebb984
commit b6ec0316f9
2 changed files with 3 additions and 2 deletions

View file

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