From 66e87880541cc19e05f67e413de07713e7f7826e Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 7 Mar 2018 12:06:20 +0100 Subject: [PATCH] version 0.5.0 --- include/controllers/ShopOrderController.php | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/include/controllers/ShopOrderController.php b/include/controllers/ShopOrderController.php index 3351116..828969b 100644 --- a/include/controllers/ShopOrderController.php +++ b/include/controllers/ShopOrderController.php @@ -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; } @@ -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; }