Update slack_* properties to webhook_*
This commit is contained in:
@@ -83,9 +83,9 @@ class Setting extends Model
|
||||
'email_domain',
|
||||
'email_format',
|
||||
'username_format',
|
||||
'slack_endpoint',
|
||||
'slack_channel',
|
||||
'slack_botname',
|
||||
'webhook_endpoint',
|
||||
'webhook_channel',
|
||||
'webhook_botname',
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -265,7 +265,7 @@ class Setting extends Model
|
||||
{
|
||||
// At this point the endpoint is the same for everything.
|
||||
// In the future this may want to be adapted for individual notifications.
|
||||
return self::getSettings()->slack_endpoint;
|
||||
return self::getSettings()->webhook_endpoint;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user