Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F111440527
HeraldCoreStateReasons.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, May 1, 16:22
Size
367 B
Mime Type
text/x-php
Expires
Sat, May 3, 16:22 (2 d)
Engine
blob
Format
Raw Data
Handle
25869089
Attached To
rPH Phabricator
HeraldCoreStateReasons.php
View Options
<?php
final
class
HeraldCoreStateReasons
extends
HeraldStateReasons
{
const
REASON_SILENT
=
'core.silent'
;
public
function
explainReason
(
$reason
)
{
$reasons
=
array
(
self
::
REASON_SILENT
=>
pht
(
'This change applied silently, so mail and other notifications '
.
'will not be sent.'
),
);
return
idx
(
$reasons
,
$reason
);
}
}
Event Timeline
Log In to Comment