Page MenuHomePhabricator

D10723.id25747.diff
No OneTemporary

D10723.id25747.diff

diff --git a/src/applications/audit/editor/PhabricatorAuditEditor.php b/src/applications/audit/editor/PhabricatorAuditEditor.php
--- a/src/applications/audit/editor/PhabricatorAuditEditor.php
+++ b/src/applications/audit/editor/PhabricatorAuditEditor.php
@@ -22,7 +22,12 @@
if (isset($this->auditReasonMap[$phid])) {
return $this->auditReasonMap[$phid];
}
- return array('Added by '.$this->getActor()->getUsername().'.');
+ if ($this->getIsHeraldEditor()) {
+ $name = 'herald';
+ } else {
+ $name = $this->getActor()->getUsername();
+ }
+ return array('Added by '.$name.'.');
}
public function setRawPatch($patch) {
diff --git a/src/applications/repository/storage/PhabricatorRepositoryCommit.php b/src/applications/repository/storage/PhabricatorRepositoryCommit.php
--- a/src/applications/repository/storage/PhabricatorRepositoryCommit.php
+++ b/src/applications/repository/storage/PhabricatorRepositoryCommit.php
@@ -59,6 +59,7 @@
$this->getTableName(),
$flag,
$this->getID());
+ $this->setImportStatus($this->getImportStatus() | $flag);
return $this;
}

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 24, 2:19 AM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6721967
Default Alt Text
D10723.id25747.diff (1 KB)

Event Timeline