Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danijelk committed Jun 17, 2020
1 parent 66c9b5f commit f8ed11d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,7 @@ public function syncTerms(): void

public function syncTranslations(?array $languages = null): void
{
if ($languages === null) {
$translations = $this->getTranslations();
} else {
$translations = $this->getTranslations($languages);
}
$translations = $this->getTranslations($languages);

$this->setupPoeditorCredentials();

Expand Down

0 comments on commit f8ed11d

Please sign in to comment.