mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-21 22:32:41 +01:00
Provide missing "AlmanacInterfaceTransactionQuery"
Summary: Ref PHI2149. This provides the trivial Query class required for the daemons to publish Almanac Interface transactions. (Publishing these doesn't do anything interesting, but currently leaves an error in the daemon logs.) Test Plan: - Stopped the daemons. - Edited the port of an Interface in Almanac. - Ran `bin/worker execute --active --class PhabricatorApplicationTransactionPublishWorker` to publish the transaction. - Before: fatal on missing class, "Unable to load query for transaction object...". - After: transaction publishes cleanly. Differential Revision: https://secure.phabricator.com/D21726
This commit is contained in:
parent
b9ba0418ed
commit
c7b04170fe
2 changed files with 12 additions and 0 deletions
|
@ -88,6 +88,7 @@ phutil_register_library_map(array(
|
|||
'AlmanacInterfaceSearchEngine' => 'applications/almanac/query/AlmanacInterfaceSearchEngine.php',
|
||||
'AlmanacInterfaceTableView' => 'applications/almanac/view/AlmanacInterfaceTableView.php',
|
||||
'AlmanacInterfaceTransaction' => 'applications/almanac/storage/AlmanacInterfaceTransaction.php',
|
||||
'AlmanacInterfaceTransactionQuery' => 'applications/almanac/query/AlmanacInterfaceTransactionQuery.php',
|
||||
'AlmanacInterfaceTransactionType' => 'applications/almanac/xaction/AlmanacInterfaceTransactionType.php',
|
||||
'AlmanacKeys' => 'applications/almanac/util/AlmanacKeys.php',
|
||||
'AlmanacManageClusterServicesCapability' => 'applications/almanac/capability/AlmanacManageClusterServicesCapability.php',
|
||||
|
@ -6142,6 +6143,7 @@ phutil_register_library_map(array(
|
|||
'AlmanacInterfaceSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'AlmanacInterfaceTableView' => 'AphrontView',
|
||||
'AlmanacInterfaceTransaction' => 'AlmanacModularTransaction',
|
||||
'AlmanacInterfaceTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'AlmanacInterfaceTransactionType' => 'AlmanacTransactionType',
|
||||
'AlmanacKeys' => 'Phobject',
|
||||
'AlmanacManageClusterServicesCapability' => 'PhabricatorPolicyCapability',
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
final class AlmanacInterfaceTransactionQuery
|
||||
extends PhabricatorApplicationTransactionQuery {
|
||||
|
||||
public function getTemplateApplicationTransaction() {
|
||||
return new AlmanacInterfaceTransaction();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue