mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10875] Remove useless assignment from phpbb_cache_driver_memory.
sql_save() no longer takes $query_result as a reference, thus this assignment is a no-op. PHPBB3-10875
This commit is contained in:
parent
1f248dab6f
commit
4f65a00334
1 changed files with 0 additions and 2 deletions
2
phpBB/includes/cache/driver/memory.php
vendored
2
phpBB/includes/cache/driver/memory.php
vendored
|
@ -334,8 +334,6 @@ abstract class phpbb_cache_driver_memory extends phpbb_cache_driver_base
|
||||||
|
|
||||||
$this->_write('sql_' . $hash, $this->sql_rowset[$query_id], $ttl);
|
$this->_write('sql_' . $hash, $this->sql_rowset[$query_id], $ttl);
|
||||||
|
|
||||||
$query_result = $query_id;
|
|
||||||
|
|
||||||
return $query_id;
|
return $query_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue