Skip to content

Commit 98ab16e

Browse files
susnuxbackportbot[bot]
authored andcommitted
fix(appstore): only show appstore entries if actual from appstore
- resolves #61273 Shipped apps are no longer published to the appstore, so the appstore data is outdated and confusing. So ignore them from the app fetcher and only use the local data. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent b403f3b commit 98ab16e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

apps/appstore/lib/Controller/ApiController.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,14 @@ private function fetchApps(): void {
330330

331331
$apps = $this->getAppsForCategory('');
332332
$supportedApps = $this->subscriptionRegistry->delegateGetSupportedApps();
333+
$shippedApps = $this->appManager->getAlwaysEnabledApps();
333334
foreach ($apps as $app) {
335+
if (in_array($app['id'], $shippedApps)) {
336+
// shipped apps are no longer published on the appstore
337+
// so skip them to avoid confusion with outdated data
338+
continue;
339+
}
340+
334341
$app['appstore'] = true;
335342
if (!array_key_exists($app['id'], $this->allApps)) {
336343
$this->allApps[$app['id']] = $app;

0 commit comments

Comments
 (0)