set caching to null for finance helper
This commit is contained in:
@@ -70,6 +70,10 @@ class FinanceHelper {
|
|||||||
$esi = $esiHelper->SetupEsiAuthentication($token);
|
$esi = $esiHelper->SetupEsiAuthentication($token);
|
||||||
//Set the version
|
//Set the version
|
||||||
$esi->setVersion('v4');
|
$esi->setVersion('v4');
|
||||||
|
|
||||||
|
//Set caching to null
|
||||||
|
$configuration = Configuration::getInstance();
|
||||||
|
$configuration->cache = NullCache::class;
|
||||||
|
|
||||||
//Set our current page to 1 which is the one we are starting on.
|
//Set our current page to 1 which is the one we are starting on.
|
||||||
$currentPage = 1;
|
$currentPage = 1;
|
||||||
@@ -179,6 +183,10 @@ class FinanceHelper {
|
|||||||
$esi = $esiHelper->SetupEsiAuthentication($token);
|
$esi = $esiHelper->SetupEsiAuthentication($token);
|
||||||
$esi->setVersion('v4');
|
$esi->setVersion('v4');
|
||||||
|
|
||||||
|
//Set caching to null
|
||||||
|
$configuration = Configuration::getInstance();
|
||||||
|
$configuration->cache = NullCache::class;
|
||||||
|
|
||||||
//Call the page of the wallet journal
|
//Call the page of the wallet journal
|
||||||
try {
|
try {
|
||||||
$journals = $esi->page($page)
|
$journals = $esi->page($page)
|
||||||
@@ -236,6 +244,10 @@ class FinanceHelper {
|
|||||||
$esi = $esiHelper->SetupEsiAuthentication($token);
|
$esi = $esiHelper->SetupEsiAuthentication($token);
|
||||||
$esi->setVersion('v4');
|
$esi->setVersion('v4');
|
||||||
|
|
||||||
|
//Set caching to null
|
||||||
|
$configuration = Configuration::getInstance();
|
||||||
|
$configuration->cache = NullCache::class;
|
||||||
|
|
||||||
//Call the first page of the wallet journal, as we are always going to get at least one page.
|
//Call the first page of the wallet journal, as we are always going to get at least one page.
|
||||||
//If we have more pages, then we will continue through the while loop.
|
//If we have more pages, then we will continue through the while loop.
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user