mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Make getApplicationTransactionEditor() in PhabricatorApplication return an editor
Summary: Ref T12685. I provided this incorrect (`return new` rather than `throw`) implementation earlier; it can now be replaced with a proper implementation. This caused application policy edits to spew this into the daemon log: ``` [2017-05-14 15:35:27] EXCEPTION: (Error) Call to undefined method PhutilMethodNotImplementedException::setActor() at [<phabricator>/src/applications/transactions/worker/PhabricatorApplicationTransactionPublishWorker.php:69] ``` Test Plan: - Used `bin/worker execute --id <id>` to execute a previously-failing task. - Saw a feed story publish. Reviewers: chad, amckinley Reviewed By: chad Maniphest Tasks: T12685 Differential Revision: https://secure.phabricator.com/D17876
This commit is contained in:
parent
aa81979922
commit
95925ad58f
1 changed files with 1 additions and 1 deletions
|
@ -642,7 +642,7 @@ abstract class PhabricatorApplication
|
|||
|
||||
|
||||
public function getApplicationTransactionEditor() {
|
||||
return new PhutilMethodNotImplementedException(pht('Coming Soon!'));
|
||||
return new PhabricatorApplicationEditor();
|
||||
}
|
||||
|
||||
public function getApplicationTransactionObject() {
|
||||
|
|
Loading…
Reference in a new issue