Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F548879
DiffusionCommitAutocloseHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
778 B
Referenced Files
None
Subscribers
None
DiffusionCommitAutocloseHeraldField.php
View Options
<?php
final
class
DiffusionCommitAutocloseHeraldField
extends
DiffusionCommitHeraldField
{
const
FIELDCONST
=
'diffusion.commit.autoclose'
;
public
function
getFieldGroupKey
()
{
return
HeraldDeprecatedFieldGroup
::
FIELDGROUPKEY
;
}
public
function
getHeraldFieldName
()
{
// Herald no longer triggers until a commit is reachable from a permanent
// ref, so this condition is always true by definition.
return
pht
(
'Commit Autocloses (Deprecated)'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
true
;
}
public
function
getHeraldFieldConditions
()
{
return
array
(
HeraldAdapter
::
CONDITION_UNCONDITIONALLY
,
);
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
new
HeraldEmptyFieldValue
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:56 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121592
Default Alt Text
DiffusionCommitAutocloseHeraldField.php (778 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment