Skip to content

Commit

Permalink
Return true when there's nothing to do because the plugin is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
raamdev committed Dec 28, 2015
1 parent 7ff5761 commit ea72374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/includes/closures/Plugin/HtaccessUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
return false; // Not running the Apache web server.
}
if (!$self->options['enable']) {
return false; // Nothing to do.
return true; // Nothing to do.
}
if (!$self->removeWpHtaccess()) {
return false; // Unable to remove.
Expand Down

0 comments on commit ea72374

Please sign in to comment.