1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00
phorge-phorge/src/applications/cache/spec
epriestley df21391b8e When "apcu_clear_cache()" exists, prefer it as a cache clear callback over "apc_clear_cache()"
Summary:
See PHI36. APCu originally had `apc_` methods, but at some point dropped these and only provides `apcu_` methods.

When the `apcu_` method is present, use it. It may not be present for older versions of APCu, so keep the fallback.

Test Plan:
  - With modern APCu, clicked "Purge Caches" in Config > Caches.
  - Before: fatal on bad `apc_clear_caches` call.
  - After: Valid cache clear.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D18449
2017-08-21 15:32:44 -07:00
..
PhabricatorCacheSpec.php Add dialog to purge opcode/data caches 2015-09-10 14:19:02 -07:00
PhabricatorDataCacheSpec.php When "apcu_clear_cache()" exists, prefer it as a cache clear callback over "apc_clear_cache()" 2017-08-21 15:32:44 -07:00
PhabricatorOpcodeCacheSpec.php Write 500 words on how to restart webservers 2015-12-02 09:16:10 -08:00