From 2cd9d3aa8bb06eb21ea02802ef1baccdfc1d85d9 Mon Sep 17 00:00:00 2001 From: kurund Date: Thu, 29 Aug 2013 19:05:08 +0530 Subject: [PATCH] CRM-13066, code cleanup ---------------------------------------- * CRM-13066: 'Clean up Caches' deletes in progress batches http://issues.civicrm.org/jira/browse/CRM-13066 --- CRM/Batch/Form/Entry.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index cfedc822fd..b4f672778e 100644 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -371,14 +371,11 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { // close status 'status_id' => 2, 'total' => $params['actualBatchTotal'], + 'data' => 'NULL', ); CRM_Batch_BAO_Batch::create($paramValues); - // delete from cache table - $cacheKeyString = CRM_Batch_BAO_Batch::getCacheKeyForBatch($this->_batchId); - CRM_Core_BAO_Cache::deleteGroup('batch entry', $cacheKeyString, FALSE); - // set success status CRM_Core_Session::setStatus("", ts("Batch Processed."), "success"); -- 2.25.1