Skip to content

Commit

Permalink
EZP-31110: Removed unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Dec 11, 2020
1 parent 2e5e5ba commit 8798016
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ private function getAllowedContentTypesIdentifiers(array $contentTypesAllowedVia
? array_intersect($contentTypesAllowedViaConfig, $allowedContentTypesIdentifiers)
: $allowedContentTypesIdentifiers;

//hacky, but as of now null or empty array means UDW allows all Content Types, which shouldn't be the case
return empty($allowedContentTypesIdentifiers) ? [null] : array_values($allowedContentTypesIdentifiers);
}

Expand Down

0 comments on commit 8798016

Please sign in to comment.