diff options
author | cash <cash.costello@gmail.com> | 2013-04-14 19:59:30 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-04-14 19:59:30 -0400 |
commit | 037cce80328318f7151c498d48f983cabd886505 (patch) | |
tree | 8b3c071ea4098bc99b84fbc00f03e4437261f629 | |
parent | 999f23c13e8c34f4cbae4af409446d037043d798 (diff) | |
download | elgg-037cce80328318f7151c498d48f983cabd886505.tar.gz elgg-037cce80328318f7151c498d48f983cabd886505.tar.bz2 |
entity and query cache are size limited so don't need cache clearing in ElggBatch
-rw-r--r-- | engine/classes/ElggBatch.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/engine/classes/ElggBatch.php b/engine/classes/ElggBatch.php index 1912f89a2..eb93b0f5d 100644 --- a/engine/classes/ElggBatch.php +++ b/engine/classes/ElggBatch.php @@ -227,12 +227,6 @@ class ElggBatch * @return bool */ private function getNextResultsChunk() { - // reset memory caches after first chunk load - if ($this->chunkIndex > 0) { - global $ENTITY_CACHE; - $ENTITY_CACHE = array(); - _elgg_invalidate_query_cache(); - } // always reset results. $this->results = array(); |