Regenerate all reports from rebuild stats endpoint.

This commit is contained in:
Jeff Stieler 2019-01-11 18:26:30 -07:00
parent 5c6174066e
commit 763cc972a7
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class WC_Admin_REST_System_Status_Tools_Controller extends WC_REST_System_Status
switch ( $tool ) {
case 'rebuild_stats':
WC_Admin_Reports_Orders_Stats_Data_Store::queue_order_stats_repopulate_database();
WC_Admin_Api_Init::regenerate_report_data();
$message = __( 'Rebuilding reports data in the background . . .', 'wc-admin' );
break;
default: