From bd12427fd447dd4a3be89e8aa1656d0cbe7cc04a Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 18 Feb 2016 19:03:56 +0100 Subject: [ticket/13681] Invalidate and reset opcache where necessary PHPBB3-13681 --- phpBB/phpbb/cache/driver/base.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/phpbb/cache/driver/base.php') diff --git a/phpBB/phpbb/cache/driver/base.php b/phpBB/phpbb/cache/driver/base.php index 4c20ad916d..53c50eeda3 100644 --- a/phpBB/phpbb/cache/driver/base.php +++ b/phpBB/phpbb/cache/driver/base.php @@ -61,6 +61,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(); -- cgit v1.2.1