Skip to content

Commit 40a4275

Browse files
author
Miguel Balparda
committed
ref magento/magento2 #9278 added message to flush the cache after enabling/disabling the hints.
1 parent 05f481b commit 40a4275

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Developer/Console/Command/TemplateHintsDisableCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class TemplateHintsDisableCommand extends Command
2020
/**
2121
* Success message
2222
*/
23-
const SUCCESS_MESSAGE = "Template hints disabled.";
23+
const SUCCESS_MESSAGE = "Template hints disabled. Refresh cache types";
2424

2525
/**
2626
* TemplateHintsDisableCommand constructor.
@@ -39,7 +39,7 @@ public function __construct(
3939
protected function configure()
4040
{
4141
$this->setName(self::COMMAND_NAME)
42-
->setDescription('Disable frontend template hints.');
42+
->setDescription('Disable frontend template hints. A cache flush might be required.');
4343

4444
parent::configure();
4545
}

app/code/Magento/Developer/Console/Command/TemplateHintsEnableCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(
4141
protected function configure()
4242
{
4343
$this->setName(self::COMMAND_NAME)
44-
->setDescription('Disable frontend template hints.');
44+
->setDescription('Disable frontend template hints. A cache flush might be required.');
4545

4646
parent::configure();
4747
}

0 commit comments

Comments
 (0)