diff --git a/service/app/controllers/BaseController.java b/service/app/controllers/BaseController.java index 06cdd33af5..cdc6a61478 100644 --- a/service/app/controllers/BaseController.java +++ b/service/app/controllers/BaseController.java @@ -17,7 +17,6 @@ import org.sunbird.common.models.util.ProjectUtil; import org.sunbird.common.request.ExecutionContext; import org.sunbird.common.responsecode.ResponseCode; -import org.sunbird.learner.util.TelemetryUtil; import org.sunbird.telemetry.util.lmaxdisruptor.LMAXWriter; import play.libs.F.Function; import play.libs.F.Promise; diff --git a/service/app/util/Global.java b/service/app/util/Global.java index 19f77696ed..c60316d287 100644 --- a/service/app/util/Global.java +++ b/service/app/util/Global.java @@ -8,7 +8,6 @@ import java.lang.reflect.Method; import java.util.HashMap; -import java.util.Iterator; import java.util.Map; import java.util.UUID; @@ -89,18 +88,6 @@ public Promise call(Http.Context ctx) throws java.lang.Throwable { } } - private void initializeRequestChannel(Context ctx) { - - String channel = ctx.request().getHeader(JsonKey.CHANNEL); - if(ProjectUtil.isStringNullOREmpty(channel)){ - // set default channel to context flash - ctx.flash().put(JsonKey.CHANNEL, JsonKey.DEFAULT_ROOT_ORG_ID); - }else{ - ctx.flash().put(JsonKey.CHANNEL, channel); - } - - } - /** *