Skip to content
Snippets Groups Projects
Commit d8478bc2 authored by Christoph Wurst's avatar Christoph Wurst Committed by backportbot[bot]
Browse files

Check for method existence before calling during upgrade


The ``\OCA\Mail\Db\MessageMapper::findWithEmptyMessageId`` is new and
due to the nature of how Nextcloud upgrades work, the loaded code won't
have the new method when the post-migration repair step is run. Hence we
have to do a (arguably ugly) method exists check before the method is
called.

Fixes #4746

Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent 68ece833
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment