This commit is contained in:
Joshua T Flowers 2020-05-04 14:55:33 +03:00 committed by GitHub
parent 586760c561
commit 53ee282331
1 changed files with 0 additions and 5 deletions

View File

@ -166,11 +166,6 @@ class OrdersScheduler extends ImportScheduler {
);
ReportsCache::invalidate();
// Check if any syncs returned false or -1 and reschedule their import if so.
if ( count( array_intersect( $results, array( -1, false ) ) ) ) {
self::schedule_action( 'import', array( $order_id ) );
}
}
/**