Skip to content

Commit

Permalink
Cleanup the imports
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed Nov 26, 2018
1 parent 0603458 commit 3c29d51
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 17 deletions.
Expand Up @@ -11,7 +11,6 @@

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\CMS\Session\Session;
Expand Down
Expand Up @@ -11,7 +11,6 @@

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
Expand Down
Expand Up @@ -11,11 +11,11 @@

defined('JPATH_BASE') or die;

use Joomla\Utilities\ArrayHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Factory;
use Joomla\CMS\Form\Field\ListField;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\Utilities\ArrayHelper;

/**
* Category Edit field..
Expand Down
Expand Up @@ -8,7 +8,6 @@
*/
defined('_JEXEC') or die;

use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Layout\LayoutHelper;

?>
Expand Down
Expand Up @@ -12,7 +12,6 @@
defined('_JEXEC') or die;

use Joomla\CMS\Client\ClientHelper;
use Joomla\CMS\Factory;
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\Component\Installer\Administrator\Helper\InstallerHelper;

Expand Down
Expand Up @@ -12,7 +12,6 @@
defined('_JEXEC') or die;

use Joomla\CMS\Client\ClientHelper;
use Joomla\CMS\Factory;
use Joomla\CMS\MVC\Controller\BaseController;

/**
Expand Down
1 change: 0 additions & 1 deletion administrator/components/com_media/src/Model/FileModel.php
Expand Up @@ -11,7 +11,6 @@

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\MVC\Model\FormModel;
use Joomla\CMS\Plugin\PluginHelper;

Expand Down
1 change: 0 additions & 1 deletion administrator/components/com_menus/Model/MenusModel.php
Expand Up @@ -11,7 +11,6 @@

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
use Joomla\CMS\MVC\Model\ListModel;
use Joomla\Utilities\ArrayHelper;
Expand Down
Expand Up @@ -14,7 +14,6 @@
use Joomla\CMS\Factory;
use Joomla\CMS\Helper\ContentHelper;
use Joomla\CMS\Helper\ModuleHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Multilanguage;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\FileLayout;
Expand Down
3 changes: 1 addition & 2 deletions administrator/modules/mod_sampledata/tmpl/default.php
Expand Up @@ -9,7 +9,6 @@

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Uri\Uri;
Expand Down Expand Up @@ -57,6 +56,6 @@
</ul>
<?php else : ?>
<div class="alert alert-warning">
<?php echo JText::_('MOD_SAMPLEDATA_NOTAVAILABLE'); ?>
<?php echo Text::_('MOD_SAMPLEDATA_NOTAVAILABLE'); ?>
</div>
<?php endif; ?>
1 change: 0 additions & 1 deletion libraries/src/Extension/LegacyComponent.php
Expand Up @@ -24,7 +24,6 @@
use Joomla\CMS\Filesystem\Path;
use Joomla\CMS\Menu\AbstractMenu;
use Joomla\CMS\MVC\Factory\LegacyFactory;
use Joomla\CMS\MVC\Factory\MVCFactory;
use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
use Joomla\CMS\MVC\Factory\MVCFactoryServiceInterface;

Expand Down
1 change: 0 additions & 1 deletion libraries/src/MVC/View/ListView.php
Expand Up @@ -12,7 +12,6 @@
defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\FileLayout;
use Joomla\CMS\Object\CMSObject;
Expand Down
1 change: 0 additions & 1 deletion modules/mod_related_items/mod_related_items.php
Expand Up @@ -10,7 +10,6 @@
defined('_JEXEC') or die;

use Joomla\CMS\Helper\ModuleHelper;
use Joomla\Module\RelatedItems\Site\Helper\RelatedItemsHelper;

$cacheparams = new \stdClass;
$cacheparams->cachemode = 'safeuri';
Expand Down
1 change: 0 additions & 1 deletion modules/mod_search/mod_search.php
Expand Up @@ -9,7 +9,6 @@

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Helper\ModuleHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;
Expand Down
1 change: 0 additions & 1 deletion modules/mod_tags_popular/mod_tags_popular.php
Expand Up @@ -10,7 +10,6 @@
defined('_JEXEC') or die;

use Joomla\CMS\Helper\ModuleHelper;
use Joomla\Module\TagsPopular\Site\Helper\TagsPopularHelper;

$cacheparams = new \stdClass;
$cacheparams->cachemode = 'safeuri';
Expand Down

0 comments on commit 3c29d51

Please sign in to comment.