Various code cleanup [skip ci]

This commit is contained in:
James Cole
2016-10-22 09:33:03 +02:00
parent 7ce3b8d4ef
commit 12a6a61100
8 changed files with 21 additions and 22 deletions

View File

@@ -14,7 +14,6 @@ declare(strict_types = 1);
namespace FireflyIII\Console\Commands;
use Artisan;
use FireflyIII\Models\ImportJob;
use FireflyIII\Repositories\ImportJob\ImportJobRepositoryInterface;
use FireflyIII\Repositories\User\UserRepositoryInterface;
use Illuminate\Console\Command;

View File

@@ -62,6 +62,7 @@ class Import extends Command
$job = ImportJob::whereKey($jobKey)->first();
if (!$this->isValid($job)) {
Log::error('Job is not valid for some reason. Exit.');
return;
}