Remove product literal strings in "pht()", part 6
[phabricator.git] / src / applications / differential / mail / DifferentialReplyHandler.php
blobb2d8d0566568959f09aa1adea19f66b5b2310bce
1 <?php
3 final class DifferentialReplyHandler
4 extends PhabricatorApplicationTransactionReplyHandler {
6 public function validateMailReceiver($mail_receiver) {
7 if (!($mail_receiver instanceof DifferentialRevision)) {
8 throw new Exception(pht('Receiver is not a %s!', 'DifferentialRevision'));
12 public function getObjectPrefix() {
13 return 'D';