Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-12-21 00:14:33 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-12-21 00:42:13 +0300
commitfed29117de6f30055d88daaa497ec18f85397ad6 (patch)
tree819ca4ddedde57b28acabf6b5993391bd6375b7c /db/migrate/20141006143943_move_slack_service_to_webhook.rb
parent1139da2745eb28be17c8fd6aa0f5de113c0f06a9 (diff)
Rename SlackNotificationService back to SlackService
Diffstat (limited to 'db/migrate/20141006143943_move_slack_service_to_webhook.rb')
-rw-r--r--db/migrate/20141006143943_move_slack_service_to_webhook.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20141006143943_move_slack_service_to_webhook.rb b/db/migrate/20141006143943_move_slack_service_to_webhook.rb
index 42e88d6d6e3..561184615cc 100644
--- a/db/migrate/20141006143943_move_slack_service_to_webhook.rb
+++ b/db/migrate/20141006143943_move_slack_service_to_webhook.rb
@@ -5,7 +5,7 @@ class MoveSlackServiceToWebhook < ActiveRecord::Migration
DOWNTIME_REASON = 'Move old fields "token" and "subdomain" to one single field "webhook"'
def change
- SlackNotificationService.all.each do |slack_service|
+ SlackService.all.each do |slack_service|
if ["token", "subdomain"].all? { |property| slack_service.properties.key? property }
token = slack_service.properties['token']
subdomain = slack_service.properties['subdomain']