mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
Merge pull request #54548 from nextcloud/backport/54541/stable30
This commit is contained in:
commit
a467ea8256
1 changed files with 6 additions and 4 deletions
|
|
@ -883,10 +883,12 @@ class AppManager implements IAppManager {
|
|||
|
||||
public function isBackendRequired(string $backend): bool {
|
||||
foreach ($this->appInfos as $appInfo) {
|
||||
foreach ($appInfo['dependencies']['backend'] as $appBackend) {
|
||||
if ($backend === $appBackend) {
|
||||
return true;
|
||||
}
|
||||
if (
|
||||
isset($appInfo['dependencies']['backend'])
|
||||
&& is_array($appInfo['dependencies']['backend'])
|
||||
&& in_array($backend, $appInfo['dependencies']['backend'], true)
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue