Page MenuHomePhabricator

D16723.diff
No OneTemporary

D16723.diff

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

Mime Type
text/plain
Expires
Mar 16 2025, 4:04 AM (4 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7705377
Default Alt Text
D16723.diff (732 B)

Event Timeline