Skip to content

Commit ef28be8

Browse files
committed
Update comment to be single liner
1 parent 150be3d commit ef28be8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

includes/wcs-order-functions.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,7 @@ function wcs_create_order_from_subscription( $subscription, $type ) {
277277
throw new Exception( sprintf( __( 'There was an error fetching the new order (%1$s) for subscription %2$d.', 'woocommerce-subscriptions' ), $type, $subscription->get_id() ) );
278278
}
279279

280-
// Update the subscription last_order_date_created on every time
281-
// a child order is created.
280+
// Update the subscription last_order_date_created on every time a child order is created.
282281
$subscription->set_last_order_date_created( $new_order->get_date_created()->getTimestamp() );
283282
$subscription->save();
284283

0 commit comments

Comments
 (0)