Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93145868
PhabricatorCacheSetupCheck.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
Tue, Nov 26, 13:39
Size
472 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 13:39 (2 d)
Engine
blob
Format
Raw Data
Handle
22558601
Attached To
rPH Phabricator
PhabricatorCacheSetupCheck.php
View Options
<?php
final
class
PhabricatorCacheSetupCheck
extends
PhabricatorSetupCheck
{
public
function
getDefaultGroup
()
{
return
self
::
GROUP_OTHER
;
}
protected
function
executeChecks
()
{
$code_cache
=
PhabricatorOpcodeCacheSpec
::
getActiveCacheSpec
();
$data_cache
=
PhabricatorDataCacheSpec
::
getActiveCacheSpec
();
$issues
=
$code_cache
->
getIssues
()
+
$data_cache
->
getIssues
();
foreach
(
$issues
as
$issue
)
{
$this
->
addIssue
(
$issue
);
}
}
}
Event Timeline
Log In to Comment