/** * Ajax action to delete an import file that was uploaded. Will drop the temporary table created for the import. * @param string $id */ public function actionDeleteFile($id) { $import = Import::getById((int) $id); ImportWizardUtil::clearFileAndRelatedDataFromImport($import); }