When a version tag is approved or denied, run spectre right now. Fixes bug #11671.

This commit is contained in:
Colin Kuskie 2010-06-28 14:04:46 -07:00
parent 3ea4ab8a1a
commit 8d61e5c3d6
2 changed files with 4 additions and 1 deletions

View file

@ -10,6 +10,7 @@
- fixed #11667: Shop: unable to remove item from Cart
- fixed #11550: Pending assets in the clipboard or trash are not visible from the approval screen
- fixed #11678: Story Archive leaks version tags
- fixed #11671: Approving version tags takes up 1 to hour to take affect.
7.9.7

View file

@ -306,6 +306,7 @@ sub setApproved {
my $self = shift;
my $instance = shift;
$instance->setScratch( "status", "approved" );
$instance->set({}); ##Bump spectre to get it to run right now.
}
#----------------------------------------------------------------------------
@ -325,7 +326,8 @@ sub setDenied {
my $self = shift;
my $instance = shift;
$instance->setScratch( "status", "denied" );
}
$instance->set({}); ##Bump spectre to get it to run right now.
}
#----------------------------------------------------------------------------