Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15282657
D18471.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
543 B
Referenced Files
None
Subscribers
None
D18471.diff
View Options
diff --git a/src/applications/phame/editor/PhamePostEditor.php b/src/applications/phame/editor/PhamePostEditor.php
--- a/src/applications/phame/editor/PhamePostEditor.php
+++ b/src/applications/phame/editor/PhamePostEditor.php
@@ -32,6 +32,12 @@
if ($object->isDraft() || ($object->isArchived())) {
return false;
}
+ foreach ($xactions as $xaction) {
+ switch ($xaction->getTransactionType()) {
+ case PhamePostViewsTransaction::TRANSACTIONTYPE:
+ return false;
+ }
+ }
return true;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 5 2025, 1:08 AM (4 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7223255
Default Alt Text
D18471.diff (543 B)
Attached To
Mode
D18471: Dont send an email when someone views a Phame post
Attached
Detach File
Event Timeline
Log In to Comment