Fix undefined method errors
What does this MR do?
current_application_settings
used to work everywhere, but that changed in CE in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13955. When the change was merged to EE, these usages no longer worked. Of course, there would have been no conflicts to indicate that anything was wrong during the merge. And these rake tasks must not be tested, for EE to have passed.
Screenshots (if relevant)
rake gitlab:shell:setup
before and after
rake gitlab:app:check
before
rake gitlab:app:check
after
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added -
Tests added for this feature/bug - Review
-
Has been reviewed by UX -
Has been reviewed by Frontend -
Has been reviewed by Backend -
Has been reviewed by Database
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together