Skip to content

Commit f6297f4

Browse files
committed
IBX-10289: remove unused const
1 parent b1c09df commit f6297f4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib/UI/Config/Provider/Module/DamWidget.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@
5252
*/
5353
final class DamWidget implements ProviderInterface
5454
{
55-
private const IMAGE_TYPE_ID = 5;
56-
5755
/** @phpstan-var TConfig */
5856
private array $config;
5957

@@ -103,10 +101,10 @@ private function getImageConfig(): array
103101
{
104102
$imageConfig = [
105103
'showImageFilters' => $this->showImageFilters(),
104+
'aggregations' => [],
106105
'enableMultipleDownload' => extension_loaded('zip'),
107106
];
108107

109-
110108
// The content type may not have the default fields; in that case, don't add the aggregations
111109
foreach ($this->config['image']['aggregations'] as $key => $aggregation) {
112110
try {

0 commit comments

Comments
 (0)