We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da93265 commit 35075d7Copy full SHA for 35075d7
1 file changed
lib/AppInfo/Application.php
@@ -163,9 +163,11 @@ public function register(IRegistrationContext $context): void {
163
$context->registerSearchProvider(Provider::class);
164
}
165
166
- // register mail provider
+
167
// TODO: drop condition if nextcloud < 30 is not supported anymore
168
- if (interface_exists(MailProvider::class)) {
+ // evaluate, if mail provider registration is possible
169
+ if (method_exists($context, 'registerMailProvider')) {
170
+ // register mail provider
171
$context->registerMailProvider(MailProvider::class);
172
173
0 commit comments