PHRAS-4011 : Moving cmd from console to setup - system:clear-cache system:clear-session (#4460)

* cmd clear cache in bin/setup

* Change maintenance state wording
This commit is contained in:
Aina Sitraka
2024-01-22 12:34:13 +03:00
committed by GitHub
parent 5d4d129534
commit 71ef4bf1dd
6 changed files with 102 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ class module_console_systemClearCache extends Command
{
parent::__construct($name);
$this->setDescription('Empties cache directories and cache-server data');
$this->setDescription('Empties cache directories and cache-server data <fg=yellow;>(Deprecated use bin/setup system:clear-cache instead)</>');
return $this;
}

View File

@@ -11,7 +11,7 @@ class module_console_systemClearSessionCache extends Command
{
parent::__construct($name);
$this->setDescription('Empties session cache in redis');
$this->setDescription('Empties session cache in redis <fg=yellow;>(Deprecated use bin/setup system:clear-session-cache instead)</>');
return $this;
}