From 7edf70a77b3aaf6a3684a4817d05a86eb58e98e2 Mon Sep 17 00:00:00 2001 From: Robert Horlings Date: Tue, 23 Feb 2016 14:17:41 +0100 Subject: [PATCH] Added missing imports for job --- ...tion.php => ExecuteRuleGroupOnExistingTransactions.php} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename app/Jobs/{ExecuteRuleGroupOnExistingTransaction.php => ExecuteRuleGroupOnExistingTransactions.php} (95%) diff --git a/app/Jobs/ExecuteRuleGroupOnExistingTransaction.php b/app/Jobs/ExecuteRuleGroupOnExistingTransactions.php similarity index 95% rename from app/Jobs/ExecuteRuleGroupOnExistingTransaction.php rename to app/Jobs/ExecuteRuleGroupOnExistingTransactions.php index cfd22285ff..746f36d2d3 100644 --- a/app/Jobs/ExecuteRuleGroupOnExistingTransaction.php +++ b/app/Jobs/ExecuteRuleGroupOnExistingTransactions.php @@ -5,12 +5,15 @@ namespace FireflyIII\Jobs; use Carbon\Carbon; use FireflyIII\Jobs\Job; use FireflyIII\User; +use FireflyIII\Models\RuleGroup; +use FireflyIII\Rules\Processor; +use Illuminate\Database\Eloquent\Collection; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Log; -class ExecuteRuleGroupOnExistingTransaction extends Job implements ShouldQueue +class ExecuteRuleGroupOnExistingTransactions extends Job implements ShouldQueue { use InteractsWithQueue, SerializesModels; @@ -50,8 +53,6 @@ class ExecuteRuleGroupOnExistingTransaction extends Job implements ShouldQueue // Execute the rules for each transaction foreach($journals as $journal) { - Log::debug('Processing rulegroup for journal ' . $journal->id . ' (' . $journal->description . ')'); - /** @var Processor $processor */ foreach ($processors as $processor) { $processor->handleTransactionJournal($journal);