public function processSubmitRevoke($provider) { $social_customer = $this->socialNetworkList[$provider]->processSubmitRevoke(); if (!Validate::isLoadedObject($social_customer)) { FSLTools::returnError(Tools::displayError('Bad customer object.')); } $social_customer->delete(); FSLTools::returnAjax(Context::getContext()->link->getPageLink('my-account'), $social_customer); }