Skip to content

Commit

Permalink
feature: mail provider backend
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <[email protected]>
  • Loading branch information
SebastianKrupinski committed Jun 7, 2024
1 parent db9dc0e commit b3a5ab4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,11 @@ public function register(IRegistrationContext $context): void {
$context->registerSearchProvider(Provider::class);
}

// register mail provider

// TODO: drop condition if nextcloud < 30 is not supported anymore
if (interface_exists(MailProvider::class)) {
// evaluate, if mail provider registration is possible
if (method_exists($context, 'registerMailProvider')) {
// register mail provider
$context->registerMailProvider(MailProvider::class);

Check failure on line 184 in lib/AppInfo/Application.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis dev-master

MissingDependency

lib/AppInfo/Application.php:184:35: MissingDependency: OCA\Mail\Provider\MailProvider depends on class or interface ocp\mail\provider\iprovider that does not exist (see https://psalm.dev/157)

Check failure on line 184 in lib/AppInfo/Application.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis dev-stable29

MissingDependency

lib/AppInfo/Application.php:184:35: MissingDependency: OCA\Mail\Provider\MailProvider depends on class or interface ocp\mail\provider\iprovider that does not exist (see https://psalm.dev/157)

Check failure on line 184 in lib/AppInfo/Application.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis dev-stable28

MissingDependency

lib/AppInfo/Application.php:184:35: MissingDependency: OCA\Mail\Provider\MailProvider depends on class or interface ocp\mail\provider\iprovider that does not exist (see https://psalm.dev/157)

Check failure on line 184 in lib/AppInfo/Application.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis dev-stable27

MissingDependency

lib/AppInfo/Application.php:184:35: MissingDependency: OCA\Mail\Provider\MailProvider depends on class or interface ocp\mail\provider\iprovider that does not exist (see https://psalm.dev/157)
}

Expand Down

0 comments on commit b3a5ab4

Please sign in to comment.