Skip to content

Commit 22a008a

Browse files
Remove extra comments and white space
1 parent d5cfaef commit 22a008a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Rewrite_Command.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,8 @@ public function structure( $args, $assoc_args ) {
163163

164164
$cmd = 'rewrite flush';
165165
if ( Utils\get_flag_value( $assoc_args, 'hard' ) ) {
166-
$cmd .= ' --hard';
166+
$cmd .= ' --hard';
167167

168-
// Check if the 'mod_rewrite' Apache module is enabled.
169-
// If not, display a warning since regenerating the .htaccess file requires this module.
170168
if ( ! in_array( 'mod_rewrite', (array) WP_CLI::get_config( 'apache_modules' ), true ) ) {
171169
WP_CLI::warning( 'Regenerating a .htaccess file requires special configuration. See usage docs.' );
172170
}

0 commit comments

Comments
 (0)