summaryrefslogtreecommitdiff
path: root/app/models/event.rb
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-12-29 10:36:57 +0100
committerCiro Santilli <ciro.santilli@gmail.com>2014-12-29 13:07:58 +0100
commita2afc5c3f95268920f5f93d367a94aa67945c0aa (patch)
tree8b167e9c1776cf7a0005d4e06446bbbbf5391628 /app/models/event.rb
parent6aec286fca169502edd4c643a6d2202a012fa142 (diff)
downloadgitlab-ce-a2afc5c3f95268920f5f93d367a94aa67945c0aa.tar.gz
Remove unused ex local variable from event.rb
Diffstat (limited to 'app/models/event.rb')
-rw-r--r--app/models/event.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/event.rb b/app/models/event.rb
index 65b4c2edfee..2a6c690ab91 100644
--- a/app/models/event.rb
+++ b/app/models/event.rb
@@ -174,7 +174,7 @@ class Event < ActiveRecord::Base
def valid_push?
data[:ref] && ref_name.present?
- rescue => ex
+ rescue
false
end