summaryrefslogtreecommitdiff
path: root/app/helpers/ci_variables_helper.rb
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-03-27 21:42:23 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2019-03-27 21:42:23 +0000
commit89fdf64c8a3764cf8c646cb4b9eb9b11a3871eae (patch)
tree8b31028a23cbb3a8b39375b3992f7423b3d5705f /app/helpers/ci_variables_helper.rb
parent1b26f3c536682b8989710e70aeb702f76cad9b92 (diff)
downloadgitlab-ce-89fdf64c8a3764cf8c646cb4b9eb9b11a3871eae.tar.gz
Revert "Merge branch '13784-validate-variables-for-masking' into 'master'"
This reverts merge request !25476
Diffstat (limited to 'app/helpers/ci_variables_helper.rb')
-rw-r--r--app/helpers/ci_variables_helper.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/ci_variables_helper.rb b/app/helpers/ci_variables_helper.rb
index 88ce311a1d4..e3728804c2a 100644
--- a/app/helpers/ci_variables_helper.rb
+++ b/app/helpers/ci_variables_helper.rb
@@ -12,12 +12,4 @@ module CiVariablesHelper
ci_variable_protected_by_default?
end
end
-
- def ci_variable_masked?(variable, only_key_value)
- if variable && !only_key_value
- variable.masked
- else
- true
- end
- end
end