helper for console commands

This commit is contained in:
2018-12-06 18:07:57 -06:00
parent 3134b68522
commit 4edf5b26cb

View File

@@ -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);
}