mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-11 08:06:13 +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 ReleephRequestReplyHandler
|
|
extends PhabricatorApplicationTransactionReplyHandler {
|
|
|
|
public function validateMailReceiver($mail_receiver) {
|
|
if (!($mail_receiver instanceof ReleephRequest)) {
|
|
throw new Exception('Mail receiver is not a ReleephRequest!');
|
|
}
|
|
}
|
|
|
|
public function getObjectPrefix() {
|
|
return 'Y';
|
|
}
|
|
|
|
}
|