Skip to content

Commit

Permalink
Helper factory removed from mod_frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
joomlaweby committed Feb 8, 2024
1 parent a5bf710 commit b6a3d9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions administrator/modules/mod_frontend/services/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

\defined('_JEXEC') or die;

use Joomla\CMS\Extension\Service\Provider\HelperFactory;
use Joomla\CMS\Extension\Service\Provider\Module;
use Joomla\CMS\Extension\Service\Provider\ModuleDispatcherFactory;
use Joomla\DI\Container;
Expand All @@ -34,7 +33,6 @@
public function register(Container $container)
{
$container->registerServiceProvider(new ModuleDispatcherFactory('\\Joomla\\Module\\Frontend'));
$container->registerServiceProvider(new HelperFactory('\\Joomla\\Module\\Frontend\\Administrator\\Helper'));

$container->registerServiceProvider(new Module());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
namespace Joomla\Module\Frontend\Administrator\Dispatcher;

use Joomla\CMS\Dispatcher\AbstractModuleDispatcher;
use Joomla\CMS\Helper\HelperFactoryAwareInterface;
use Joomla\CMS\Helper\HelperFactoryAwareTrait;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
Expand All @@ -23,10 +21,8 @@
*
* @since __DEPLOY_VERSION__
*/
class Dispatcher extends AbstractModuleDispatcher implements HelperFactoryAwareInterface
class Dispatcher extends AbstractModuleDispatcher
{
use HelperFactoryAwareTrait;

/**
* Returns the layout data.
*
Expand Down

0 comments on commit b6a3d9d

Please sign in to comment.