Fix bug 11098. Create a VersionTag method that only clear the session for a single user.

This commit is contained in:
Colin Kuskie 2009-10-07 08:51:05 -07:00
parent 5f29c5bcdd
commit a866f143d0
4 changed files with 49 additions and 2 deletions

View file

@ -515,6 +515,20 @@ sub getWorking {
#-------------------------------------------------------------------
=head2 leaveTag ( )
Make the user leave their current tag.
=cut
sub leaveTag {
my $self = shift;
$self->session->scratch->delete('versionTag');
$self->session->stow->delete("versionTag");
}
#-------------------------------------------------------------------
=head2 lock ( )
Sets this version tag up so no more revisions may be applied to it.