aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache/driver/base.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2016-02-18 22:00:29 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2016-02-18 22:00:29 +0100
commitec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d (patch)
treeea051e66e5ce6955c72f1b8c2b44bdb0ca29c972 /phpBB/phpbb/cache/driver/base.php
parentc485312d384b450b057b08b0002d9e3fc3013ca8 (diff)
parentb7deef46ac2f49b310d05d94067607e8f19c0817 (diff)
downloadforums-ec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d.tar
forums-ec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d.tar.gz
forums-ec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d.tar.bz2
forums-ec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d.tar.xz
forums-ec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d.zip
Merge branch '3.2.x'
* 3.2.x: [ticket/13681] Invalidate and reset opcache where necessary
Diffstat (limited to 'phpBB/phpbb/cache/driver/base.php')
-rw-r--r--phpBB/phpbb/cache/driver/base.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/phpbb/cache/driver/base.php b/phpBB/phpbb/cache/driver/base.php
index 85762c4d95..f4b3dc278d 100644
--- a/phpBB/phpbb/cache/driver/base.php
+++ b/phpBB/phpbb/cache/driver/base.php
@@ -63,6 +63,11 @@ abstract class base implements \phpbb\cache\driver\driver_interface
unset($this->sql_rowset);
unset($this->sql_row_pointer);
+ if (function_exists('opcache_reset'))
+ {
+ @opcache_reset();
+ }
+
$this->vars = array();
$this->sql_rowset = array();
$this->sql_row_pointer = array();