Skip to content

Commit ad32096

Browse files
committed
refactor
1 parent c0e0144 commit ad32096

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

plugins/behaviour/compat/src/HTMLHelper/Bootstrap.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,11 @@
88
namespace Joomla\Plugin\Behaviour\Compat\HTMLHelper;
99

1010
use Joomla\CMS\Factory;
11-
use Joomla\CMS\HTML\HTMLHelper;
11+
use Joomla\CMS\HTML\Helpers\Bootstrap as OriginalBootstrap;
1212

13-
class Bootstrap
14-
{
15-
public function __construct()
16-
{
17-
if (!HTMLHelper::isRegistered('bootstrap.framework')) {
18-
HTMLHelper::register('bootstrap.framework', 'Joomla\Plugin\Behaviour\Compat\HTMLHelper\Bootstrap::framework');
19-
}
20-
}
2113

14+
class Bootstrap extends OriginalBootstrap
15+
{
2216
/**
2317
* Method to load the ALL the Bootstrap Components
2418
*

0 commit comments

Comments
 (0)