mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02: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:
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user