Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
versioncontrol_gitlab
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
versioncontrol_gitlab
Merge requests
!4
Issue
#3317536
: Allow modules to perform actions on sync
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3317536
: Allow modules to perform actions on sync
issue/versioncontrol_gitlab-3317536:3317536-allow-modules-to
into
7.x-1.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Fran Garcia-Linares
requested to merge
issue/versioncontrol_gitlab-3317536:3317536-allow-modules-to
into
7.x-1.x
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
7.x-1.x
version 1
87c60c9e
2 years ago
7.x-1.x (base)
and
latest version
latest version
87c60c9e
1 commit,
2 years ago
version 1
87c60c9e
1 commit,
2 years ago
1 file
+
2
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
versioncontrol_gitlab.module
+
2
−
0
Options
@@ -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
);
}
Loading