mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-21874 - phisics are physics :-P
This commit is contained in:
parent
90d07fa496
commit
a1656ddf79
@ -950,7 +950,7 @@ abstract class sql_generator {
|
||||
/// Implement one basic cache to avoid object name duplication
|
||||
/// along all the request life, but never to return cached results
|
||||
/// We need this because sql statements are created before executing
|
||||
/// them, hence names doesn't exist "phisically" yet in DB, so we need
|
||||
/// them, hence names doesn't exist "physically" yet in DB, so we need
|
||||
/// to known which ones have been used
|
||||
if (!isset($used_names)) {
|
||||
static $used_names = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user