Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14861945
D14163.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D14163.diff
View Options
diff --git a/src/applications/audit/mail/PhabricatorAuditMailReceiver.php b/src/applications/audit/mail/PhabricatorAuditMailReceiver.php
--- a/src/applications/audit/mail/PhabricatorAuditMailReceiver.php
+++ b/src/applications/audit/mail/PhabricatorAuditMailReceiver.php
@@ -8,11 +8,11 @@
}
protected function getObjectPattern() {
- return 'C[1-9]\d*';
+ return 'COMMIT[1-9]\d*';
}
protected function loadObject($pattern, PhabricatorUser $viewer) {
- $id = (int)trim($pattern, 'C');
+ $id = (int)preg_replace('/^COMMIT/', '', $pattern);
return id(new DiffusionCommitQuery())
->setViewer($viewer)
diff --git a/src/applications/audit/mail/PhabricatorAuditReplyHandler.php b/src/applications/audit/mail/PhabricatorAuditReplyHandler.php
--- a/src/applications/audit/mail/PhabricatorAuditReplyHandler.php
+++ b/src/applications/audit/mail/PhabricatorAuditReplyHandler.php
@@ -13,9 +13,7 @@
}
public function getObjectPrefix() {
- // TODO: This conflicts with Countdown and will probably need to be
- // changed eventually.
- return 'C';
+ return 'COMMIT';
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 8, 12:48 PM (13 h, 49 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7099402
Default Alt Text
D14163.diff (1 KB)
Attached To
Mode
D14163: Move commits to the "COMMIT" mail prefix
Attached
Detach File
Event Timeline
Log In to Comment