Disable attributes lookup table usage before initiating regeneration.
This commit is contained in:
parent
7c9137698b
commit
6dbcd64a21
|
@ -93,6 +93,8 @@ class DataRegenerator {
|
|||
* (Note how we are returning "false" since the class handles the step scheduling by itself).
|
||||
*/
|
||||
public function initiate_regeneration() {
|
||||
$this->enable_or_disable_lookup_table_usage( false );
|
||||
|
||||
$this->delete_all_attributes_lookup_data();
|
||||
$products_exist = $this->initialize_table_and_data();
|
||||
if ( $products_exist ) {
|
||||
|
|
Loading…
Reference in New Issue