Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLAT-10934: Add V7 player UIConf to KMC wrapper #9470

Merged
merged 5 commits into from
Jun 7, 2020

Conversation

ravitshalem
Copy link
Contributor

@ravitshalem ravitshalem commented Jun 3, 2020

This change is Reviewable

$this->contentUiconfsPreview = isset($this->previewUIConf) ? array_values($this->previewUIConf) : null;
$this->contentUiconfPreview = (is_array($this->contentUiconfsPreview) && reset($this->contentUiconfsPreview)) ? reset($this->contentUiconfsPreview) : null;

$this->previewUIConfV7 = uiConfPeer::getUiconfByTagAndVersion('KMCngV7', $kmcngParams["kmcng_version"]);
$this->contentUiconfsPreviewV7 = isset($this->previewUIConfV7) ? array_values($this->previewUIConfV7) : null;
$this->contentUiconfPreviewV7 = (is_array($this->contentUiconfsPreviewV7) && reset($this->contentUiconfsPreviewV7)) ? reset($this->contentUiconfsPreviewV7) : null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Useless to check reset($this->contentUiconfsPreviewV7), if its array - take reset, it will contain false

@MosheMaorKaltura
Copy link
Contributor

Revieweed

@ravitshalem ravitshalem merged commit 21f5d58 into Propus-16.4.0 Jun 7, 2020
@ravitshalem ravitshalem deleted the Propus-16.4.0-PLAT-10934 branch June 7, 2020 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants