? ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
2 May 2019

Continuing the work to remove the sidebar submenu. This pr removes it from Languages, Content Languages and Overrides.

avatar brianteeman brianteeman - open - 2 May 2019
avatar brianteeman brianteeman - change - 2 May 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 May 2019
Category Administration com_languages
avatar brianteeman brianteeman - change - 2 May 2019
Labels Added: ?
avatar Quy
Quy - comment - 2 May 2019

Remove use Joomla\Component\Languages\Administrator\Helper\LanguagesHelper;

avatar brianteeman
brianteeman - comment - 2 May 2019

Remove use Joomla\Component\Languages\Administrator\Helper\LanguagesHelper;

From where? That doesn't exist as far as I can see

avatar Quy
Quy - comment - 2 May 2019

In HtmlView.php files at the top in the use area.

use Joomla\CMS\Helper\ContentHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
use Joomla\CMS\Toolbar\Toolbar;
use Joomla\CMS\Toolbar\ToolbarHelper;
use Joomla\Component\Languages\Administrator\Helper\LanguagesHelper;
avatar brianteeman
brianteeman - comment - 2 May 2019

I see it now but I think other functions in that helper are being used

avatar Quy
Quy - comment - 2 May 2019

Searched the 3 files and it was only used for the addSubmenu.

avatar sanderpotjer
sanderpotjer - comment - 4 May 2019

@brianteeman I'm using PhpStorm and that is displaying if something is used:
Screenshot 2019-05-04 at 13 08 41

Light grey means not in use, so LanguagesHelper can be cleaned up (for all 3 HtmlView.php files).

avatar brianteeman
brianteeman - comment - 4 May 2019

Yeah I will fix it this afternoon

avatar brianteeman
brianteeman - comment - 4 May 2019

Updated as requested

avatar sanderpotjer
sanderpotjer - comment - 4 May 2019

I have tested this item successfully on d978f0e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24774.

avatar sanderpotjer sanderpotjer - test_item - 4 May 2019 - Tested successfully
avatar joomla-cms-bot joomla-cms-bot - change - 5 May 2019
Category Administration com_languages Administration com_languages Language & Strings
avatar SniperSister SniperSister - change - 5 May 2019
Labels Added: ?
avatar sanderpotjer
sanderpotjer - comment - 5 May 2019

I have tested this item successfully on 8116fa3


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24774.

avatar sanderpotjer sanderpotjer - test_item - 5 May 2019 - Tested successfully
avatar Quy
Quy - comment - 5 May 2019

I have tested this item successfully on 8116fa3


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24774.

avatar Quy Quy - test_item - 5 May 2019 - Tested successfully
avatar Quy Quy - change - 5 May 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 5 May 2019

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24774.

avatar infograf768 infograf768 - change - 5 May 2019
Labels Added: ?
avatar SniperSister SniperSister - change - 14 May 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-05-14 18:28:01
Closed_By SniperSister
avatar SniperSister SniperSister - close - 14 May 2019
avatar SniperSister SniperSister - merge - 14 May 2019
avatar SniperSister
SniperSister - comment - 14 May 2019

Merged, Thanks!

avatar brianteeman
brianteeman - comment - 14 May 2019

thanks

Add a Comment

Login with GitHub to post a comment