Fix bug 11098. Create a VersionTag method that only clear the session for a single user.
This commit is contained in:
parent
5f29c5bcdd
commit
a866f143d0
4 changed files with 49 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue