You are here

function flickrapi_admin_settings_submit in Flickr API 5

Same name and namespace in other branches
  1. 7.2 flickrapi.admin.inc \flickrapi_admin_settings_submit()
  2. 7 flickrapi.admin.inc \flickrapi_admin_settings_submit()

File

./flickrapi.module, line 67

Code

function flickrapi_admin_settings_submit($form_id, $form) {

  // clean up the data ...
  $form['flickrapi_api_key'] = trim($form['flickrapi_api_key']);
  $form['flickrapi_api_secret'] = trim($form['flickrapi_api_secret']);

  // ... and save the settings
  system_settings_form_submit($form_id, $form);
}