Skip to content
Snippets Groups Projects
Commit de2151ba authored by Brian Weaver's avatar Brian Weaver
Browse files

Don't import on API settings save

parent 19830e88
No related branches found
No related tags found
No related merge requests found
......@@ -89,9 +89,6 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
$config->set('asc_courses.prod_consumer_secret', $form_state->getValue('prod_consumer_secret'));
$config->set('asc_courses.eip_environment', $form_state->getValue('eip_environment'));
$config->save();
$importer = new AscCoursesImporter();
$importer->fetchAndImportAll();
return parent::submitForm($form, $form_state);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment