Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14056187
D16723.id40274.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
732 B
Referenced Files
None
Subscribers
None
D16723.id40274.diff
View Options
diff --git a/src/applications/calendar/editor/PhabricatorCalendarEventEditor.php b/src/applications/calendar/editor/PhabricatorCalendarEventEditor.php
--- a/src/applications/calendar/editor/PhabricatorCalendarEventEditor.php
+++ b/src/applications/calendar/editor/PhabricatorCalendarEventEditor.php
@@ -200,6 +200,11 @@
protected function shouldPublishFeedStory(
PhabricatorLiskDAO $object,
array $xactions) {
+
+ if ($object->isImportedEvent()) {
+ return false;
+ }
+
return true;
}
@@ -210,6 +215,11 @@
protected function shouldSendMail(
PhabricatorLiskDAO $object,
array $xactions) {
+
+ if ($object->isImportedEvent()) {
+ return false;
+ }
+
return true;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 6:47 PM (17 h, 41 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713508
Default Alt Text
D16723.id40274.diff (732 B)
Attached To
Mode
D16723: Don't publish feed stories or send mail about imported events
Attached
Detach File
Event Timeline
Log In to Comment