mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-16 20:02:40 +01:00
9e8bbdb3a2
Summary: Ref T2222. Brings the major mail features (affected files, patches) forward. This drops some of the minor integrations which just show object state (like "Maniphest Tasks") since I think they're not very important. I'll put them back if users miss them. Test Plan: Sent mail with inline/attached patches. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2222 Differential Revision: https://secure.phabricator.com/D8459
15 lines
344 B
PHP
15 lines
344 B
PHP
<?php
|
|
|
|
abstract class DifferentialMail extends PhabricatorMail {
|
|
|
|
public static function newReplyHandlerForRevision(
|
|
DifferentialRevision $revision) {
|
|
|
|
$reply_handler = PhabricatorEnv::newObjectFromConfig(
|
|
'metamta.differential.reply-handler');
|
|
$reply_handler->setMailReceiver($revision);
|
|
|
|
return $reply_handler;
|
|
}
|
|
|
|
}
|