public deleteCategoriesStoreIndices ( $storeId = null ) |
public function deleteCategoriesStoreIndices($storeId = null)
{
if ($storeId !== null) {
if ($this->config->isEnabledBackend($storeId) === false) {
$this->logger->log('INDEXING IS DISABLED FOR ' . $this->logger->getStoreName($storeId));
return;
}
}
$this->algolia_helper->deleteIndex($this->category_helper->getIndexName($storeId));
}
public function deleteCategoriesStoreIndices(Varien_Object $event) { $storeId = $event->getStoreId(); $this->helper->deleteCategoriesStoreIndices($storeId); }