Skip to content

Commit c6b3565

Browse files
committed
Remove dev cache
1 parent ce0b1f5 commit c6b3565

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/LokaliseService.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use Bambamboole\LaravelLokalise\Models\TranslationFile;
88
use Bambamboole\LaravelTranslationDumper\TranslationType;
99
use Illuminate\Support\Collection;
10-
use Illuminate\Support\Facades\Cache;
1110
use Illuminate\Support\Str;
1211

1312
class LokaliseService
@@ -22,9 +21,9 @@ public function downloadTranslations(DownloadTranslationFilesCommand $command):
2221
{
2322
$command->getComponents()->info('Download translation...');
2423

25-
$translations = Cache::remember('foo', 300, fn () => $this->client
24+
$translations = $this->client
2625
->withProgressbar($command->getOutput()->createProgressBar())
27-
->getTranslations());
26+
->getTranslations();
2827
$command->getComponents()->info(sprintf('%s translations downloaded', $translations->count()));
2928

3029
$this->repository->saveTranslations($translations);

0 commit comments

Comments
 (0)