function connector_connections_list_submit in Connector 7
Same name and namespace in other branches
- 6 connector.pages.inc \connector_connections_list_submit()
@todo Please document this function.
See also
File
- ./connector.pages.inc, line 147 
- Contains all non-admin pages for the Connector module
Code
function connector_connections_list_submit($form, &$form_state) {
  $primary = $form_state['values']['primary'];
  $account = $form_state['values']['account'];
  _connector_set_primary_connection($account, $primary);
  //TODO: Trigger an update of the users information somehow?
  //TODO: Need to make sure that all values are rechecked - eg checking for an avatar even if the old source didn't have one
}