There is an unused variable in the file LocaleUpdateBase.php in a variable declaration

protected $tranlations_directory;

This needs to be removed.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

borisbaldinger’s picture

Status: Active » Needs review
FileSize
886 bytes

Fixed spelling issue, created the patch and added it to the issue.

Schnitzel’s picture

Status: Needs review » Reviewed & tested by the community

nice!

tim.plunkett’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Needs work

This property is never used, it was added in #1742894: Get status of local and remote translation files for no apparent reason.

borisbaldinger’s picture

Title: Spelling issue in LocaleUpdateBase class » Unused variable in LocaleUpdateBase class
Issue summary: View changes
borisbaldinger’s picture

Status: Needs work » Needs review
FileSize
922 bytes

As tim has stated, we don't need this variable. I just removed it now and added the new patch.

Status: Needs review » Needs work

The last submitted patch, 5: drupal8.locale-module.2119045-5.patch, failed testing.

borisbaldinger’s picture

Status: Needs work » Needs review
Schnitzel’s picture

Status: Needs review » Reviewed & tested by the community

nice! less unused code!

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.