Merge pull request woocommerce/woocommerce-admin#2015 from woocommerce/notes-queue-group

add WCA queue group to the unsnooze notes scheduled action
This commit is contained in:
Jeff Stieler 2019-04-10 10:21:39 -06:00 committed by GitHub
commit 4b2ac14994
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class WC_Admin_Notes {
$next = $queue->get_next( self::UNSNOOZE_HOOK );
if ( ! $next ) {
$queue->schedule_recurring( time(), HOUR_IN_SECONDS, self::UNSNOOZE_HOOK );
$queue->schedule_recurring( time(), HOUR_IN_SECONDS, self::UNSNOOZE_HOOK, array(), WC_Admin_Reports_Sync::QUEUE_GROUP );
}
}
}