Skip to content

Commit 2de5bcb

Browse files
authored
Remove getFrozenPackages implementation
The method was deprecated and the concept gutted, this would return empty array anyways.
1 parent 19abeed commit 2de5bcb

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

Neos.Flow/Classes/Package/PackageManager.php

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -232,19 +232,7 @@ public function getAvailablePackages(): array
232232
*/
233233
public function getFrozenPackages(): array
234234
{
235-
$frozenPackages = [];
236-
if ($this->bootstrap->getContext()->isDevelopment()) {
237-
/** @var PackageInterface $package */
238-
foreach ($this->packages as $packageKey => $package) {
239-
if (isset($this->packageStatesConfiguration['packages'][$package->getComposerName()]['frozen']) &&
240-
$this->packageStatesConfiguration['packages'][$package->getComposerName()]['frozen'] === true
241-
) {
242-
$frozenPackages[$packageKey] = $package;
243-
}
244-
}
245-
}
246-
247-
return $frozenPackages;
235+
return [];
248236
}
249237

250238
/**

0 commit comments

Comments
 (0)