Commit 397cfa727525723e68e1cd27198e774d1db9e124
1 parent
67af63a5
KTS-1850
"Major performance issue - SQL query" Updated. Removed lines replaced by the patch. Committed by: Megan Watson Reviewed by: Conrad Vermeulen git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7790 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
0 additions
and
2 deletions
lib/ktentity.inc
| ... | ... | @@ -795,13 +795,11 @@ class KTEntityUtil { |
| 795 | 795 | $exec .= join(", ", $aExecArgs); |
| 796 | 796 | $exec .= \');\'; |
| 797 | 797 | eval($exec); |
| 798 | - $this->_save($oObject); | |
| 799 | 798 | $this->cacheGlobal[$this->iId] =& $oObject; |
| 800 | 799 | return $res; |
| 801 | 800 | /* */ |
| 802 | 801 | }'; |
| 803 | 802 | |
| 804 | - $allcode[] = sprintf('function %s ($iId) { $this->iId = $iId; }' . "\n", $sProxyClassName); | |
| 805 | 803 | $allcode[] = sprintf('function %s ($iId) { $this->iId = $iId; $this->cacheGlobal =& $GLOBALS["_OBJECTCACHE"][%s]; }' . "\n", $sProxyClassName, $sClassName); |
| 806 | 804 | |
| 807 | 805 | $gen = sprintf("class %s extends %s {\n", $sProxyClassName, $sClassName); | ... | ... |