Skip to content

Commit

Permalink
chore: remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
mikechu-optimizely committed Oct 21, 2024
1 parent 80bed0a commit 075e511
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions OptimizelySDK/Optimizely.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1089,14 +1089,9 @@ ProjectConfig projectConfig
{ "reasons", reasonsToReport },
{ "decisionEventDispatched", decisionEventDispatched },
};

// var decisionNotificationType =
// projectConfig.IsFeatureExperiment(flagDecision.Experiment?.Id) ?
// DecisionNotificationTypes.FEATURE_TEST :
// DecisionNotificationTypes.AB_TEST;
NotificationCenter.SendNotifications(NotificationCenter.NotificationType.Decision,
userId,
user.GetAttributes(), decisionInfo);

NotificationCenter.SendNotifications(NotificationCenter.NotificationType.Decision,
userId, user.GetAttributes(), decisionInfo);

return new OptimizelyDecision(
variationKey,
Expand Down Expand Up @@ -1419,8 +1414,7 @@ List<OdpSegmentOption> segmentOptions

if (config == null)
{
Logger.Log(LogLevel.ERROR,
"Datafile has invalid format. Failing 'FetchQualifiedSegments'.");
Logger.Log(LogLevel.ERROR,"Datafile has invalid format. Failing 'FetchQualifiedSegments'.");
return null;
}

Expand Down

0 comments on commit 075e511

Please sign in to comment.