Merge pull request #8471 from nextcloud/fix_upgrade
getIncompatibleApps needs a string not an array
This commit is contained in:
commit
8b44c16ddc
|
@ -373,6 +373,7 @@ class OC {
|
|||
|
||||
// get third party apps
|
||||
$ocVersion = \OCP\Util::getVersion();
|
||||
$ocVersion = implode('.', $ocVersion);
|
||||
$incompatibleApps = $appManager->getIncompatibleApps($ocVersion);
|
||||
$incompatibleShippedApps = [];
|
||||
foreach ($incompatibleApps as $appInfo) {
|
||||
|
|
|
@ -397,7 +397,7 @@ class AppManager implements IAppManager {
|
|||
*
|
||||
* @internal
|
||||
*/
|
||||
public function getIncompatibleApps($version) {
|
||||
public function getIncompatibleApps(string $version): array {
|
||||
$apps = $this->getInstalledApps();
|
||||
$incompatibleApps = array();
|
||||
foreach ($apps as $appId) {
|
||||
|
|
Loading…
Reference in New Issue