Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 5df976e

Browse files
rrennickvedanshujain
authored andcommitted
restore code accidentally removed in master merge
1 parent 3d205db commit 5df976e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,9 @@ public function execute_tool( $tool ) {
583583
$message = __( 'Template cache cleared.', 'woocommerce-rest-api' );
584584
} else {
585585
$message = __( 'The active version of WooCommerce does not support template cache clearing.', 'woocommerce-rest-api' );
586+
}
587+
break;
588+
586589
case 'verify_db_tables':
587590
if ( ! method_exists( 'WC_Install', 'verify_base_tables' ) ) {
588591
$message = __( 'You need WooCommerce 4.2 or newer to run this tool.', 'woocommerce-rest-api' );

0 commit comments

Comments
 (0)