mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 11:30:55 +01:00
6f59b2ab87
Summary: Ref T7199. This fully modularizes mail command handling in Maniphest. I had to add a couple of minor not-totally-solid-feeling tricks to deal with the "create" case, but they feel not-too-bad, and a million times better than what came before. Test Plan: Used all commands with `receive-test`. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7199 Differential Revision: https://secure.phabricator.com/D12240
11 lines
247 B
PHP
11 lines
247 B
PHP
<?php
|
|
|
|
abstract class ManiphestEmailCommand
|
|
extends MetaMTAEmailTransactionCommand {
|
|
|
|
public function isCommandSupportedForObject(
|
|
PhabricatorApplicationTransactionInterface $object) {
|
|
return ($object instanceof ManiphestTask);
|
|
}
|
|
|
|
}
|