aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache/driver/base.php
diff options
context:
space:
mode:
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();