Skip to content

Commit

Permalink
fix(installer): disable checking the email service for now; ref #5
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturMoczulski committed Oct 28, 2019
1 parent f97bbe5 commit 02153da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions force-app/main/default/classes/RollbarInstaller.cls
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ public with sharing class RollbarInstaller {

public static Boolean rollbarEmailServiceSetUp()
{
// TODO: remove when installation is finished
return true;

try {
EmailServicesFunction emailFunction = [SELECT Id FROM EmailServicesFunction WHERE FunctionName='RollbarEmailService'];
EmailServicesAddress emailServicesAddress = [SELECT Id, LocalPart, EmailDomainName FROM EmailServicesAddress WHERE FunctionId = :emailFunction.Id];
Expand All @@ -173,6 +176,9 @@ public with sharing class RollbarInstaller {

public static Boolean apexNotificationsForwardingSetUp()
{
// TODO: remove when installation is finished
return true;

EmailServicesFunction emailFunction;
EmailServicesAddress emailServicesAddress;
try {
Expand Down

0 comments on commit 02153da

Please sign in to comment.