mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-12 20:04:55 +01:00
fix removal of old packages
This commit is contained in:
parent
009f6443d3
commit
ae190b65aa
@ -180,8 +180,7 @@ class PluginService
|
||||
|
||||
$oldPackages = collect($oldPackages)
|
||||
->filter(fn ($version, $package) => !array_key_exists($package, $newPackages))
|
||||
->map(fn ($version, $package) => "$package:$version")
|
||||
->flatten()
|
||||
->keys()
|
||||
->unique()
|
||||
->toArray();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user