From 91579dc6c3ef6829ad9a2146631f3c56fd11bd1f Mon Sep 17 00:00:00 2001 From: Hans Date: Wed, 27 Nov 2024 10:56:46 +0100 Subject: [PATCH] Update UpCommand.php dialog text was off --- classes/Commands/KirbyCommands/UpCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/Commands/KirbyCommands/UpCommand.php b/classes/Commands/KirbyCommands/UpCommand.php index 06d30fe..bdc3b6e 100644 --- a/classes/Commands/KirbyCommands/UpCommand.php +++ b/classes/Commands/KirbyCommands/UpCommand.php @@ -21,14 +21,14 @@ public function __construct(CLI $cli) parent::__construct($cli); $confirmed = confirm( - label: 'Are you sure you want to enable maintenance mode?', + label: 'Disable maintenance mode?', default: false, - hint: 'This will prevent non-logged in users from accessing the site.', + hint: 'This will bring the site up again.', ); if(!$confirmed) { - error('❌ Maintenance mode not disabled.'); + error('❌ Maintenance still enabled.'); die(); }