When a version tag is approved or denied, run spectre right now. Fixes bug #11671.
This commit is contained in:
parent
3ea4ab8a1a
commit
8d61e5c3d6
2 changed files with 4 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
- fixed #11667: Shop: unable to remove item from Cart
|
- 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 #11550: Pending assets in the clipboard or trash are not visible from the approval screen
|
||||||
- fixed #11678: Story Archive leaks version tags
|
- fixed #11678: Story Archive leaks version tags
|
||||||
|
- fixed #11671: Approving version tags takes up 1 to hour to take affect.
|
||||||
|
|
||||||
|
|
||||||
7.9.7
|
7.9.7
|
||||||
|
|
|
||||||
|
|
@ -306,6 +306,7 @@ sub setApproved {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $instance = shift;
|
my $instance = shift;
|
||||||
$instance->setScratch( "status", "approved" );
|
$instance->setScratch( "status", "approved" );
|
||||||
|
$instance->set({}); ##Bump spectre to get it to run right now.
|
||||||
}
|
}
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
@ -325,6 +326,7 @@ sub setDenied {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $instance = shift;
|
my $instance = shift;
|
||||||
$instance->setScratch( "status", "denied" );
|
$instance->setScratch( "status", "denied" );
|
||||||
|
$instance->set({}); ##Bump spectre to get it to run right now.
|
||||||
}
|
}
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue