summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/users_select.js
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-01-05 23:45:12 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-01-05 23:45:12 +0800
commitfb2ca26f523f7dd4422b4d82f18e92a234ed4c05 (patch)
tree8c5623606eb1dd9209d7bc1dcbf6d96ab2a25ac3 /app/assets/javascripts/users_select.js
parentdbf8388d8107042894abdd084e7b78f5ec59c364 (diff)
downloadgitlab-ce-fb2ca26f523f7dd4422b4d82f18e92a234ed4c05.tar.gz
Remove unused push_code_to_protected_branches38056-remove-unused-option
Diffstat (limited to 'app/assets/javascripts/users_select.js')
-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
},