Remove product literal strings in "pht()", part 6
[phabricator.git] / src / applications / macro / mail / PhabricatorMacroReplyHandler.php
blob83b5d0a9302643e7c5d4f766fba9a7358c7c6d46
1 <?php
3 final class PhabricatorMacroReplyHandler
4 extends PhabricatorApplicationTransactionReplyHandler {
6 public function validateMailReceiver($mail_receiver) {
7 if (!($mail_receiver instanceof PhabricatorFileImageMacro)) {
8 throw new Exception(
9 pht('Mail receiver is not a %s!', 'PhabricatorFileImageMacro'));
13 public function getObjectPrefix() {
14 return 'MCRO';