Page MenuHomePhorge

ManiphestTaskMergedIntoTransaction.php
No OneTemporary

Size
940 B
Referenced Files
None
Subscribers
None

ManiphestTaskMergedIntoTransaction.php

<?php
final class ManiphestTaskMergedIntoTransaction
extends ManiphestTaskTransactionType {
const TRANSACTIONTYPE = 'mergedinto';
public function generateOldValue($object) {
return null;
}
public function applyInternalEffects($object, $value) {
$object->setStatus(ManiphestTaskStatus::getDuplicateStatus());
}
public function getActionName() {
return pht('Merged');
}
public function getTitle() {
$new = $this->getNewValue();
return pht(
'%s closed this task as a duplicate of %s.',
$this->renderAuthor(),
$this->renderHandle($new));
}
public function getTitleForFeed() {
$new = $this->getNewValue();
return pht(
'%s merged task %s into %s.',
$this->renderAuthor(),
$this->renderObject(),
$this->renderHandle($new));
}
public function getIcon() {
return 'fa-check';
}
public function getColor() {
return 'indigo';
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Jul 2, 9:53 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
278628
Default Alt Text
ManiphestTaskMergedIntoTransaction.php (940 B)

Event Timeline