From eb39495fa4d213b76ab99b619820a356149b320e Mon Sep 17 00:00:00 2001 From: abijah Date: Tue, 18 Aug 2009 07:17:21 +0000 Subject: [PATCH] Removed the development function for fixing the ACH deposit items. git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@618 97e9348a-65ac-dc4b-aefc-98561f571b83 --- controllers/transactions_controller.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/controllers/transactions_controller.php b/controllers/transactions_controller.php index 576eb85..eca9677 100644 --- a/controllers/transactions_controller.php +++ b/controllers/transactions_controller.php @@ -493,19 +493,4 @@ class TransactionsController extends AppController { return; } - function foo() { - $all_tenders = $this->Transaction->LedgerEntry->Tender->find - ('all', array('link' => array('TenderType', - 'LedgerEntry' => - array('Transaction')), - 'conditions' => array(array('TenderType.auto_deposit' => true), - array('Tender.deposit_transaction_id' => null)), - )); - - foreach ($all_tenders AS $cur_tender) { - $tender_ids = array($cur_tender['Tender']['id']); - $ids = array('transaction_id' => $cur_tender['Transaction']['id']); - $this->Transaction->_autoDeposit($tender_ids, $ids); - } - } }