diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-08 11:06:54 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-08 11:06:54 +0200 |
commit | 4c388fb86500a2691c7b584ffafcbac18d643cab (patch) | |
tree | 9758888c2a383bc4bc235ab578cb17e284898689 /app/models/project_services | |
parent | c6f9a1c273beb7e427da1e384ed27e323d6f3b29 (diff) | |
download | gitlab-ce-4c388fb86500a2691c7b584ffafcbac18d643cab.tar.gz |
Remove legacy conditional from irker service coderubocop/enable-identical-conditional-branches-cop
Diffstat (limited to 'app/models/project_services')
-rw-r--r-- | app/models/project_services/irker_service.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/models/project_services/irker_service.rb b/app/models/project_services/irker_service.rb index 7fc33689952..ce7d1c5d5b1 100644 --- a/app/models/project_services/irker_service.rb +++ b/app/models/project_services/irker_service.rb @@ -112,14 +112,6 @@ class IrkerService < Service # Authorize both irc://domain.com/#chan and irc://domain.com/chan if uri.is_a?(URI) && uri.scheme[/^ircs?\z/] && !uri.path.nil? - # Do not authorize irc://domain.com/ - if uri.fragment.nil? && uri.path.length > 1 - else - # Authorize irc://domain.com/smthg#chan - # The irker daemon will deal with it by concatenating smthg and - # chan, thus sending messages on #smthgchan - end - uri.to_s end end |