getIncompatibleApps needs a string not an array
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
09857e5a95
commit
4a41e0cc42
2 changed files with 2 additions and 1 deletions
|
@ -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 a new issue