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

@ -1,4 +1,5 @@
7.7.11
- Fixed a bug where empty version tags were not deleted. (Martin Kamerbeek / Oqapi)
7.7.10
- Made a change to LDAP auth that adds an OR to that query so that it also searches for a row with fieldData REGEXP '^uid=(value-from-ldap-directory-server),'. (Wes Morgan)

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