Exemplo n.º 1
0
 protected function applyBuiltinInternalTransaction(PhabricatorLiskDAO $object, PhabricatorApplicationTransaction $xaction)
 {
     switch ($xaction->getTransactionType()) {
         case PhabricatorTransactions::TYPE_COMMENT:
             $object->setMessageCount((int) $object->getMessageCount() + 1);
             break;
     }
     return parent::applyBuiltinInternalTransaction($object, $xaction);
 }