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 26, 2024
1 parent da93265 commit 35075d7
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 @@ -163,9 +163,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 171 in lib/AppInfo/Application.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis dev-master

MissingDependency

lib/AppInfo/Application.php:171: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 171 in lib/AppInfo/Application.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis dev-stable29

MissingDependency

lib/AppInfo/Application.php:171: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 171 in lib/AppInfo/Application.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis dev-stable28

MissingDependency

lib/AppInfo/Application.php:171: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 171 in lib/AppInfo/Application.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis dev-stable27

MissingDependency

lib/AppInfo/Application.php:171: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 35075d7

Please sign in to comment.