Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/mail/PhameBlogReplyHandler.php
- This file was added.
<?php | |||||
final class PhameBlogReplyHandler | |||||
extends PhabricatorApplicationTransactionReplyHandler { | |||||
public function validateMailReceiver($mail_receiver) { | |||||
if (!($mail_receiver instanceof PhameBlog)) { | |||||
throw new Exception( | |||||
pht('Mail receiver is not a %s.', 'PhameBlog')); | |||||
} | |||||
} | |||||
public function getObjectPrefix() { | |||||
return PhabricatorPhameBlogPHIDType::TYPECONST; | |||||
} | |||||
protected function shouldCreateCommentFromMailBody() { | |||||
return false; | |||||
} | |||||
} |