Page MenuHomePhabricator

D16723.id40274.diff
No OneTemporary

D16723.id40274.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
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)

Event Timeline