Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98236441
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
Sat, Jan 11, 08:21
Size
470 B
Mime Type
text/x-php
Expires
Mon, Jan 13, 08:21 (2 d)
Engine
blob
Format
Raw Data
Handle
23536465
Attached To
rPH Phabricator
PhabricatorCacheSetupCheck.php
View Options
<?php
final
class
PhabricatorCacheSetupCheck
extends
PhabricatorSetupCheck
{
public
function
getDefaultGroup
()
{
return
self
::
GROUP_PHP
;
}
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