From 0a79d26a27948961282739cd9de23fc3518d70e2 Mon Sep 17 00:00:00 2001 From: Kyle Taylor Date: Thu, 29 Apr 2021 04:16:37 -0500 Subject: [PATCH] =?UTF-8?q?Default=20=E2=80=9Call=E2=80=9D=20command=20to?= =?UTF-8?q?=20use=20--all?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When this command runs on the platform, it does not explicitly utilize the --all flag, but that’s because the plugin command (which does have an option for --all) does not actually implement this logic - it will pull all plugins and makes no distinction whether they’re active or not. This commit will just assume that when anyone (including the platform) runs the “all” command, it will expect the --all flag is enabled. --- php/commands/launchcheck.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/commands/launchcheck.php b/php/commands/launchcheck.php index 54d6b03..0296669 100644 --- a/php/commands/launchcheck.php +++ b/php/commands/launchcheck.php @@ -38,8 +38,8 @@ public function all($args, $assoc_args) { $searcher->register( new \Pantheon\Checks\Insecure() ); $searcher->register( new \Pantheon\Checks\Exploited() ); $searcher->execute(); - $checker->register( new \Pantheon\Checks\Plugins(isset($assoc_args['all'])) ); - $checker->register( new \Pantheon\Checks\Themes(isset($assoc_args['all'])) ); + $checker->register( new \Pantheon\Checks\Plugins(TRUE)); + $checker->register( new \Pantheon\Checks\Themes(TRUE)); $checker->register( new \Pantheon\Checks\Cron() ); $checker->register( new \Pantheon\Checks\Objectcache() ); $checker->register( new \Pantheon\Checks\Database() );