File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/Magento/CatalogRule/Model/Indexer Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 10
10
use Magento \Framework \DataObject \IdentityInterface ;
11
11
use Magento \Framework \Indexer \CacheContext ;
12
12
13
+ /**
14
+ * Abstract class for CatalogRule indexers.
15
+ */
13
16
abstract class AbstractIndexer implements IndexerActionInterface, MviewActionInterface, IdentityInterface
14
17
{
15
18
/**
@@ -66,7 +69,6 @@ public function executeFull()
66
69
{
67
70
$ this ->indexBuilder ->reindexFull ();
68
71
$ this ->_eventManager ->dispatch ('clean_cache_by_tags ' , ['object ' => $ this ]);
69
- //TODO: remove after fix fpc. MAGETWO-50668
70
72
$ this ->getCacheManager ()->clean ($ this ->getIdentities ());
71
73
}
72
74
@@ -137,8 +139,9 @@ public function executeRow($id)
137
139
abstract protected function doExecuteRow ($ id );
138
140
139
141
/**
140
- * @return \Magento\Framework\App\CacheInterface|mixed
142
+ * Get cache manager
141
143
*
144
+ * @return \Magento\Framework\App\CacheInterface|mixed
142
145
* @deprecated 100.0.7
143
146
*/
144
147
private function getCacheManager ()
You can’t perform that action at this time.
0 commit comments