Skip to content

Commit

Permalink
version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmattke committed Mar 7, 2018
1 parent e43dc67 commit 66e8788
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions include/controllers/ShopOrderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ function setBulkAdminNotice() {


function bulkCreateConsigments( $redirect_to, $doaction, $post_ids ){
_log('ShopOrderController::bulkCreateConsigments()');
_log($doaction);
_log($post_ids);

// _log('ShopOrderController::bulkCreateConsigments()');
// _log($doaction);
// _log($post_ids);
if ( $doaction !== 'create_consignment' ) {
return $redirect_to;
}
Expand All @@ -42,13 +41,11 @@ function bulkCreateConsigments( $redirect_to, $doaction, $post_ids ){
$this->saveConsignment($order_id, $force=true, $create=false);
}
}
else{
_log('no post ids checked');
}

// else{
// _log('no post ids checked');
// }
$redirect_to = add_query_arg( 'bulk_created_consignments', count( $post_ids ), $redirect_to );


return $redirect_to;
}

Expand Down

0 comments on commit 66e8788

Please sign in to comment.