From fce99c874ecafd170ad28808bbb54881a8635843 Mon Sep 17 00:00:00 2001
From: Alexander Makarov <sam@rmcreative.ru>
Date: Sun, 23 Nov 2014 21:56:09 +0300
Subject: [PATCH] Fixes #5504: Added note to yii\console\CacheController explaining that cache components should be configured in console app configuration in order to be cleared

---
 framework/console/controllers/CacheController.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/framework/console/controllers/CacheController.php b/framework/console/controllers/CacheController.php
index 9acc9c7..40818ae 100644
--- a/framework/console/controllers/CacheController.php
+++ b/framework/console/controllers/CacheController.php
@@ -28,6 +28,10 @@ use yii\console\Exception;
  *
  *     yii cache/flush-all
  *
+ * Note that the command uses cache components defined in your console application configuration file. If components
+ * configured are different from web application, web application cache won't be cleared. In order to fix it please
+ * duplicate web application cache components in console config. You can use any component names.
+ *
  * @author Alexander Makarov <sam@rmcreative.ru>
  * @author Mark Jebri <mark.github@yandex.ru>
  * @since 2.0
--
libgit2 0.27.1