mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
[ticket/17535] Address code review comments
PHPBB-17535
This commit is contained in:
13
phpBB/phpbb/cache/driver/memory.php
vendored
13
phpBB/phpbb/cache/driver/memory.php
vendored
@@ -50,18 +50,7 @@ abstract class memory extends \phpbb\cache\driver\base
|
||||
*/
|
||||
function purge()
|
||||
{
|
||||
unset($this->vars);
|
||||
unset($this->sql_rowset);
|
||||
unset($this->sql_row_pointer);
|
||||
|
||||
if (function_exists('opcache_reset'))
|
||||
{
|
||||
@opcache_reset();
|
||||
}
|
||||
|
||||
$this->vars = [];
|
||||
$this->sql_rowset = [];
|
||||
$this->sql_row_pointer = [];
|
||||
parent::purge();
|
||||
|
||||
$this->is_modified = true;
|
||||
|
||||
|
Reference in New Issue
Block a user