summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-01-08 10:58:38 +0000
committerPhil Hughes <me@iamphill.com>2018-01-08 10:58:38 +0000
commit62943cd7961ebe9e3f3343302ec6509c40f5f1fb (patch)
tree5661a13c81ce092b30c202cf65eaf3a3082ee8e3 /app/assets
parentd42c0ecc02a92a530686468762c0af40e345d3ba (diff)
parentfb2ca26f523f7dd4422b4d82f18e92a234ed4c05 (diff)
downloadgitlab-ce-62943cd7961ebe9e3f3343302ec6509c40f5f1fb.tar.gz
Merge branch '38056-remove-unused-option' into 'master'
Remove unused push_code_to_protected_branches Closes #38056 See merge request gitlab-org/gitlab-ce!16253
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/users_select.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/javascripts/users_select.js b/app/assets/javascripts/users_select.js
index 759cc9925f4..f249bd036d6 100644
--- a/app/assets/javascripts/users_select.js
+++ b/app/assets/javascripts/users_select.js
@@ -541,7 +541,6 @@ function UsersSelect(currentUser, els, options = {}) {
options.projectId = $(select).data('project-id');
options.groupId = $(select).data('group-id');
options.showCurrentUser = $(select).data('current-user');
- options.pushCodeToProtectedBranches = $(select).data('push-code-to-protected-branches');
options.authorId = $(select).data('author-id');
options.skipUsers = $(select).data('skip-users');
showNullUser = $(select).data('null-user');
@@ -688,7 +687,6 @@ UsersSelect.prototype.users = function(query, options, callback) {
todo_filter: options.todoFilter || null,
todo_state_filter: options.todoStateFilter || null,
current_user: options.showCurrentUser || null,
- push_code_to_protected_branches: options.pushCodeToProtectedBranches || null,
author_id: options.authorId || null,
skip_users: options.skipUsers || null
},