Skip to content

Commit 5f66f11

Browse files
committed
Implement suggested removal
1 parent 37eab53 commit 5f66f11

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/optimizely/decision_service.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,6 @@ def get_variations_for_feature_list(project_config, feature_flags, user_context,
296296
user_profile_tracker.load_user_profile
297297
end
298298

299-
if project_config.respond_to?(:each) && feature_flags.respond_to?(:user_id) &&
300-
user_context.respond_to?(:get_experiment_from_id)
301-
project_config, feature_flags, user_context = user_context, project_config, feature_flags
302-
end
303-
304299
decisions = []
305300
feature_flags.each do |feature_flag|
306301
# check if the feature is being experiment on and whether the user is bucketed into the experiment

0 commit comments

Comments
 (0)