Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108044242
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
Sun, Apr 13, 13:34
Size
367 B
Mime Type
text/x-php
Expires
Tue, Apr 15, 13:34 (2 d)
Engine
blob
Format
Raw Data
Handle
25512748
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