mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Fix call to non-existing getTransactionCommentForSave() in PhabricatorInlineComment
Summary: rPb48a22bf50a32895566e9aa66c1d7aff87a492b8 moved the call `$this->getTransactionCommentForSave()->save()` from within `PhabricatorAuditInlineComment` to the new (parent) class `PhabricatorInlineComment.php`, however the later does not define this function. As the two child classes which extend `PhabricatorInlineComment` both implement `getTransactionCommentForSave()`, declare an abstract function in their parent class. Test Plan: Carefully read the code. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25644
This commit is contained in:
parent
17b568b94f
commit
d2bca2f32d
1 changed files with 5 additions and 0 deletions
|
@ -101,6 +101,11 @@ abstract class PhabricatorInlineComment
|
|||
abstract public function supportsHiding();
|
||||
abstract public function isHidden();
|
||||
|
||||
/**
|
||||
* @return Phobject
|
||||
*/
|
||||
abstract public function getTransactionCommentForSave();
|
||||
|
||||
public function isDraft() {
|
||||
return !$this->getTransactionPHID();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue