summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/opcache/ZendAccelerator.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c
index b1feb54a2c..01e9eca28f 100644
--- a/ext/opcache/ZendAccelerator.c
+++ b/ext/opcache/ZendAccelerator.c
@@ -1068,15 +1068,6 @@ int zend_accel_invalidate(const char *filename, int filename_len, zend_bool forc
zend_persistent_script *persistent_script;
if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled) || accelerator_shm_read_lock() != SUCCESS) {
-#ifdef HAVE_OPCACHE_FILE_CACHE
- if (ZCG(accel_directives).file_cache) {
- realpath = accelerator_orig_zend_resolve_path(filename, filename_len);
- if (realpath) {
- zend_file_cache_invalidate(realpath);
- zend_string_release(realpath);
- }
- }
-#endif
return FAILURE;
}