Skip to content

Commit 2104207

Browse files
Merge pull request #61592 from nextcloud/backport/61578/stable34
[stable34] fix(appstore): only show appstore entries if actual from appstore
2 parents 09287c0 + 98ab16e commit 2104207

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)