Skip to content
Snippets Groups Projects
Commit 7fbcacd6 authored by Fran Garcia-Linares's avatar Fran Garcia-Linares Committed by Neil Drumm
Browse files

Issue #3317536 by fjgarlin: Allow modules to perform actions on sync

parent ac74ba4a
No related branches found
No related tags found
1 merge request!4Issue #3317536: Allow modules to perform actions on sync
......@@ -550,6 +550,8 @@ function versioncontrol_gitlab_user_process($data) {
}
}
versioncontrol_gitlab_sync_emails($data['account']);
// Allow other modules to perform any additional sync operations.
module_invoke_all('versioncontrol_gitlab_user_process_sync', $gitlab_user['id']);
} catch (Exception $e) {
watchdog('versioncontrol_gitlab', 'Unable to sync GitLab user %user error: %msg', ['%user' => $data['account']->uid . ' - ' . $data['account']->git_username, '%msg' => $e->getMessage()], WATCHDOG_ERROR);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment