diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-03-24 15:08:48 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-03-29 19:11:18 +0200 |
commit | 2b604976da1f7dbd47840728ec61b17833e43654 (patch) | |
tree | 1f7a193c95f27fa6093e8e9d1d512e9fcf166a9f /server/sonar-web/src/main/js/apps/coding-rules/app.js | |
parent | 4325cef7f932d26dc3fbf171836c15a15d2e4903 (diff) | |
download | sonarqube-2b604976da1f7dbd47840728ec61b17833e43654.tar.gz sonarqube-2b604976da1f7dbd47840728ec61b17833e43654.zip |
SONAR-7470 Drop ability to manage manual rules from UI
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/app.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/app.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/app.js b/server/sonar-web/src/main/js/apps/coding-rules/app.js index b6dd113f837..282c5dd1cc7 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/app.js +++ b/server/sonar-web/src/main/js/apps/coding-rules/app.js @@ -78,14 +78,6 @@ const init = function () { Backbone.history.start(); }; -App.manualRepository = function () { - return { - key: 'manual', - name: translate('coding_rules.manual_rule'), - language: 'none' - }; -}; - const appXHR = $.get('/api/rules/app').done(function (r) { App.canWrite = r.canWrite; App.qualityProfiles = _.sortBy(r.qualityprofiles, ['name', 'lang']); @@ -96,7 +88,6 @@ const appXHR = $.get('/api/rules/app').done(function (r) { profile.language = App.languages[profile.lang]; }); App.repositories = r.repositories; - App.repositories.push(App.manualRepository()); App.statuses = r.statuses; }); |