浏览代码

Merge pull request #16811 from nextcloud/bugfix/16771/correctly-remove-apps-without-any-releases

Correctly remove apps without any releases
tags/v17.0.0beta2
Roeland Jago Douma 4 年前
父节点
当前提交
dd02920aed
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      lib/private/App/AppStore/Fetcher/AppFetcher.php

+ 2
- 1
lib/private/App/AppStore/Fetcher/AppFetcher.php 查看文件

@@ -115,6 +115,7 @@ class AppFetcher extends Fetcher {

if (empty($releases)) {
// Remove apps that don't have a matching release
$response['data'][$dataKey] = [];
continue;
}

@@ -136,7 +137,7 @@ class AppFetcher extends Fetcher {
}
}

$response['data'] = array_values($response['data']);
$response['data'] = array_values(array_filter($response['data']));
return $response;
}


正在加载...
取消
保存