summaryrefslogtreecommitdiff
path: root/app/models/ci/trigger.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-03-05 18:30:58 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-03-05 18:53:20 +0100
commitab972295bc0ec6db90ae451904a867788d66f49d (patch)
tree215344bf444d5f2ffb742c659730cb3f8de21743 /app/models/ci/trigger.rb
parent4ac1467c5ce969e082d96e7b2a60ae8e1654c881 (diff)
downloadgitlab-ce-ab972295bc0ec6db90ae451904a867788d66f49d.tar.gz
Fix trigger model
Diffstat (limited to 'app/models/ci/trigger.rb')
-rw-r--r--app/models/ci/trigger.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/ci/trigger.rb b/app/models/ci/trigger.rb
index f76f06eb9c6..8aa45b2f02e 100644
--- a/app/models/ci/trigger.rb
+++ b/app/models/ci/trigger.rb
@@ -10,7 +10,6 @@ module Ci
has_many :trigger_requests, dependent: :destroy
validates :token, presence: true, uniqueness: true
- validates :owner, presence: true
before_validation :set_default_values