J4 Issue ?
avatar brianteeman
brianteeman
6 Sep 2019

Looking at these horrible language strings with their punctuation

COM_INSTALLER_ENABLED_UPDATES_1=", 1 disabled site was enabled."
COM_INSTALLER_ENABLED_UPDATES_MORE=", %s disabled sites were enabled."

They are referenced in the model here

But I dont see this code being used anywhere in the update view

Instead the sites are enabled/disabled in the updatesite view with this code in the controller although the comment refers to extensions not sites

Is this code duplication? Is the comment wrong

@roland-d any ideas?

avatar brianteeman brianteeman - open - 6 Sep 2019
avatar joomla-cms-bot joomla-cms-bot - change - 6 Sep 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Sep 2019
avatar brianteeman brianteeman - change - 6 Sep 2019
The description was changed
avatar brianteeman brianteeman - edited - 6 Sep 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Sep 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 6 Sep 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Sep 2019
Status New Discussion
avatar roland-d
roland-d - comment - 6 Sep 2019

@brianteeman According to Github you last changed the language strings as part of PR #5615 ?

Agree, as far as I can tell this code isn't used anymore and can be removed. As you pointed out, this is now handled by the publish() function.

Will you make the PR or should I?

avatar brianteeman
brianteeman - comment - 6 Sep 2019

can you make the pr to make sure I dont miss any of the unused code

avatar roland-d roland-d - change - 6 Sep 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-09-06 15:05:44
Closed_By roland-d
avatar roland-d
roland-d - comment - 6 Sep 2019

Closing as we have PR #26193

avatar roland-d roland-d - close - 6 Sep 2019

Add a Comment

Login with GitHub to post a comment