mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-13 12:54:53 +01:00
Summary: Fixes T12624. Converts PonderAnswer over to modular transactions. Test Plan: - Add an answer - Edit an answer - Hide an answer - Comment on an answer Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T12624 Differential Revision: https://secure.phabricator.com/D17811
26 lines
543 B
PHP
26 lines
543 B
PHP
<?php
|
|
|
|
final class PonderAnswerTransaction
|
|
extends PhabricatorModularTransaction {
|
|
|
|
public function getApplicationName() {
|
|
return 'ponder';
|
|
}
|
|
|
|
public function getTableName() {
|
|
return 'ponder_answertransaction';
|
|
}
|
|
|
|
public function getApplicationTransactionType() {
|
|
return PonderAnswerPHIDType::TYPECONST;
|
|
}
|
|
|
|
public function getApplicationTransactionCommentObject() {
|
|
return new PonderAnswerTransactionComment();
|
|
}
|
|
|
|
public function getBaseTransactionClass() {
|
|
return 'PonderAnswerTransactionType';
|
|
}
|
|
|
|
}
|