mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-27 16:20:12 +00:00
Remove unneded @throws MWException
Echo can throw it but it should not be caught. Bug: T328220 Change-Id: I0f91d6dd98f1f65de49d5f89fc2c80ba1a99ca16
This commit is contained in:
parent
784fbe5777
commit
22ccc90c75
|
@ -9,7 +9,6 @@ use Flow\Conversion\Utils;
|
|||
use Flow\Exception\FlowException;
|
||||
use Flow\Model\PostRevision;
|
||||
use Flow\Model\UUID;
|
||||
use MWException;
|
||||
use Title;
|
||||
use User;
|
||||
use Wikimedia\ParamValidator\ParamValidator;
|
||||
|
@ -143,7 +142,6 @@ class ApiFlowThank extends ApiThank {
|
|||
* @param string $postTextExcerpt
|
||||
* @param Title $topicTitle
|
||||
* @throws FlowException
|
||||
* @throws MWException
|
||||
*/
|
||||
private function sendThanks(
|
||||
User $user,
|
||||
|
|
Loading…
Reference in a new issue