aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-04-14 19:59:30 -0400
committercash <cash.costello@gmail.com>2013-04-14 19:59:30 -0400
commit037cce80328318f7151c498d48f983cabd886505 (patch)
tree8b3c071ea4098bc99b84fbc00f03e4437261f629
parent999f23c13e8c34f4cbae4af409446d037043d798 (diff)
downloadelgg-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.php6
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();