From 4edf5b26cbdf6bf50d4e1b9d7136624d69d6254e Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 6 Dec 2018 18:07:57 -0600 Subject: [PATCH] helper for console commands --- app/Console/Commands/corpJournal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/corpJournal.php b/app/Console/Commands/corpJournal.php index a36089a78..966929e48 100644 --- a/app/Console/Commands/corpJournal.php +++ b/app/Console/Commands/corpJournal.php @@ -56,7 +56,7 @@ class CorpJournal extends Command //Add the entry into the jobs table saying the job is starting $task->SetStartStatus(); //Setup the Finances Container - $finance = new Finances(); + $finance = new FinanceHelper(); //Setup an array to store corporations which have been logged so we don't keep calling the same ones. We need //this step in order to save time during the cronjob. $finishedCorps = array(); @@ -92,7 +92,7 @@ class CorpJournal extends Command } private function GetJournal($charId) { - $finances = new Finances(); + $finances = new FinanceHelper(); //Get the master wallet journal for the corporation for the character $finances->GetWalletJournal(1, $charId); }