diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2016-05-09 19:00:28 +0300 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2016-05-09 19:00:28 +0300 |
commit | f1479b56b71bef63517b90fcde99e6508e9c54af (patch) | |
tree | 4e426c2b25b1cfb498b452576d5b1b54266d2034 /app/models/hooks/system_hook.rb | |
parent | 8dd2188b8367ad18bf005c855ef55f001a0b5fd1 (diff) |
Remove the annotate gem and delete old annotations
In 8278b763d96ef10c6494409b18b7eb541463af29 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.
Fixes: #17382
Diffstat (limited to 'app/models/hooks/system_hook.rb')
-rw-r--r-- | app/models/hooks/system_hook.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/app/models/hooks/system_hook.rb b/app/models/hooks/system_hook.rb index ad508cbbcb8..777bad1e724 100644 --- a/app/models/hooks/system_hook.rb +++ b/app/models/hooks/system_hook.rb @@ -1,25 +1,3 @@ -# == Schema Information -# -# Table name: web_hooks -# -# id :integer not null, primary key -# url :string(2000) -# project_id :integer -# created_at :datetime -# updated_at :datetime -# type :string default("ProjectHook") -# service_id :integer -# push_events :boolean default(TRUE), not null -# issues_events :boolean default(FALSE), not null -# merge_requests_events :boolean default(FALSE), not null -# tag_push_events :boolean default(FALSE) -# note_events :boolean default(FALSE), not null -# enable_ssl_verification :boolean default(TRUE) -# build_events :boolean default(FALSE), not null -# wiki_page_events :boolean default(FALSE), not null -# token :string -# - class SystemHook < WebHook def async_execute(data, hook_name) Sidekiq::Client.enqueue(SystemHookWorker, id, data, hook_name) |