public function doSuccessQueque($request) { $params = json_decode(Session::getActiveMigrationData(), true); if ($params['entity'] == 2) { $this->updateParentCategories(); App::getModel('category')->getCategoriesPathById(); App::getModel('seo')->doRefreshSeoCategory(); } else { if ($params['entity'] == 1) { App::getModel('product')->updateProductAttributesetPricesAll(); } } if ($request['bFinished']) { return array('bCompleted' => true); } }