mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-09 06:11:01 +01:00
7c5f71b691
Summary: Ref T7199. Half of these aren't even reachable, but make some progress toward reducing the amount of nonsense and garbage in mail handling. Test Plan: Tested all reachable handlers with `bin/mail receive-test`. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7199 Differential Revision: https://secure.phabricator.com/D12237
16 lines
358 B
PHP
16 lines
358 B
PHP
<?php
|
|
|
|
final class FundInitiativeReplyHandler
|
|
extends PhabricatorApplicationTransactionReplyHandler {
|
|
|
|
public function validateMailReceiver($mail_receiver) {
|
|
if (!($mail_receiver instanceof FundInitiative)) {
|
|
throw new Exception('Mail receiver is not a FundInitiative!');
|
|
}
|
|
}
|
|
|
|
public function getObjectPrefix() {
|
|
return 'I';
|
|
}
|
|
|
|
}
|