Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / releeph / mail / ReleephRequestReplyHandler.php
blob9648941941210e7ea2b0f26bb1ebbdf6f83266e8
1 <?php
3 final class ReleephRequestReplyHandler
4 extends PhabricatorApplicationTransactionReplyHandler {
6 public function validateMailReceiver($mail_receiver) {
7 if (!($mail_receiver instanceof ReleephRequest)) {
8 throw new Exception(pht('Mail receiver is not a %s!', 'ReleephRequest'));
12 public function getObjectPrefix() {
13 return 'Y';