Skip to content

Commit

Permalink
Merge pull request #1665 from SemanticMediaWiki/EntityIdListRelevance…
Browse files Browse the repository at this point in the history
…DetectionFilter

Do not return void method in EntityIdListRelevanceDetectionFilter
  • Loading branch information
mwjames committed Jun 17, 2016
2 parents aeceeea + e21e0d6 commit a236f7e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -136,7 +136,6 @@ private function applyFilterToTableChangeOp( $tableChangeOp, &$affiliateEntityLi
}

private function modifyEntityList( $fieldChangeOp, &$affiliateEntityList, &$combinedChangedEntityList ) {

$key = '';

if ( $fieldChangeOp->has( 'key' ) ) {
Expand All @@ -148,7 +147,8 @@ private function modifyEntityList( $fieldChangeOp, &$affiliateEntityList, &$comb

// Exclusion before inclusion
if ( isset( $this->propertyExemptionlist[$key]) ) {
return $this->unsetEntityList( $fieldChangeOp, $combinedChangedEntityList );
$this->unsetEntityList( $fieldChangeOp, $combinedChangedEntityList );
return;
}

if ( isset( $this->affiliatePropertyDetectionlist[$key] ) && $fieldChangeOp->has( 's_id' ) ) {
Expand Down

0 comments on commit a236f7e

Please sign in to comment.