mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-28 01:32:42 +01:00
51485a1f82
Summary: Moves participants over to ModularTransactions, simplified a lot of the code. Fixes T12550 Test Plan: Create a new room with just myself and myself + fake accounts. Remove a person. Remove myself. Edit a room, topic. Type some messages. ??? Profit Reviewers: chad Reviewed By: chad Subscribers: Korvin Maniphest Tasks: T12550 Differential Revision: https://secure.phabricator.com/D17685
22 lines
488 B
PHP
22 lines
488 B
PHP
<?php
|
|
|
|
final class ConpherenceTransaction
|
|
extends PhabricatorModularTransaction {
|
|
|
|
public function getApplicationName() {
|
|
return 'conpherence';
|
|
}
|
|
|
|
public function getApplicationTransactionType() {
|
|
return PhabricatorConpherenceThreadPHIDType::TYPECONST;
|
|
}
|
|
|
|
public function getApplicationTransactionCommentObject() {
|
|
return new ConpherenceTransactionComment();
|
|
}
|
|
|
|
public function getBaseTransactionClass() {
|
|
return 'ConpherenceThreadTransactionType';
|
|
}
|
|
|
|
}
|