Passed
Pull Request — master (#329)
by Brian
05:57
created
libraries/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@
 block discarded – undo
62 62
 
63 63
 			if ( is_wp_error( $action_id ) ) {
64 64
 				throw new RuntimeException( $action_id->get_error_message() );
65
-			}
66
-			elseif ( empty( $action_id ) ) {
65
+			} elseif ( empty( $action_id ) ) {
67 66
 				throw new RuntimeException( $wpdb->last_error ? $wpdb->last_error : __( 'Database error.', 'action-scheduler' ) );
68 67
 			}
69 68
 
Please login to merge, or discard this patch.