From dafebfadc5069f370121c535e922f8ef9852df67 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 4 Jul 2019 23:08:38 -0500 Subject: [PATCH] assetes --- app/Console/Commands/Assets/GetAssets.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/Console/Commands/Assets/GetAssets.php b/app/Console/Commands/Assets/GetAssets.php index b67a0c6d2..2b9af270b 100644 --- a/app/Console/Commands/Assets/GetAssets.php +++ b/app/Console/Commands/Assets/GetAssets.php @@ -56,6 +56,8 @@ class GetAssetsCommand extends Command */ public function handle() { + $assets = null; + //Create the command helper container $task = new CommandHelper('GetAssets'); //Add the entry into the jobs table saying the job is starting @@ -77,6 +79,11 @@ class GetAssetsCommand extends Command return null; } + // Disable all caching by setting the NullCache as the + // preferred cache handler. By default, Eseye will use the + // FileCache. + $configuration = Configuration::getInstance(); + $configuration->cache = NullCache::class; //Get the refresh token from the database $token = EsiToken::where(['character_id' => $charId])->get(['refresh_token']);