Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14319952
D16311.id39228.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
780 B
Referenced Files
None
Subscribers
None
D16311.id39228.diff
View Options
diff --git a/src/applications/calendar/xaction/PhabricatorCalendarEventInviteTransaction.php b/src/applications/calendar/xaction/PhabricatorCalendarEventInviteTransaction.php
--- a/src/applications/calendar/xaction/PhabricatorCalendarEventInviteTransaction.php
+++ b/src/applications/calendar/xaction/PhabricatorCalendarEventInviteTransaction.php
@@ -179,6 +179,14 @@
$old = $this->getOldValue();
$new = $this->getNewValue();
+ // $old has this handled in `generateOldValue`.
+ $status_uninvited = PhabricatorCalendarEventInvitee::STATUS_UNINVITED;
+ foreach ($new as $key => $status) {
+ if ($status == $status_uninvited) {
+ unset($new[$key]);
+ }
+ }
+
$add = array_diff_key($new, $old);
$rem = array_diff_key($old, $new);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 10:20 AM (1 h, 55 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6907003
Default Alt Text
D16311.id39228.diff (780 B)
Attached To
Mode
D16311: Re-implement calendar.invite transactions
Attached
Detach File
Event Timeline
Log In to Comment