mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Small optimization: do not recompute external fields if the value of the external key did not change
SVN:trunk[2327]
This commit is contained in:
@@ -331,7 +331,7 @@ abstract class DBObject
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
else if ($this->m_aCurrValues[$sAttCode] != $value)
|
||||
{
|
||||
// Setting an external key, but no any other information is available...
|
||||
// Invalidate the corresponding fields so that they get reloaded in case they are needed (See Get())
|
||||
|
||||
Reference in New Issue
Block a user