mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/13681] Invalidate and reset opcache where necessary
PHPBB3-13681
This commit is contained in:
5
phpBB/phpbb/cache/driver/base.php
vendored
5
phpBB/phpbb/cache/driver/base.php
vendored
@@ -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();
|
||||
|
Reference in New Issue
Block a user