add WCA queue group to the unsnooze notes scheduled action

This commit is contained in:
Ron Rennick 2019-04-08 16:04:56 -03:00
parent 7d8df3ecfc
commit 870f7ddfcf
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 );
}
}
}