Get Demo Component to work on both J3! and J4! via legacy approach #2

Closed
Oh wants to merge 9 commits from ohrionmartin/master into master
2 changed files with 0 additions and 4 deletions
Showing only changes of commit 5a9ae0973a - Show all commits

View File

@ -21,8 +21,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tabstate');
// Access check.
if (!JFactory::getUser()->authorise('core.manage', 'com_demo'))
{

View File

@ -21,8 +21,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tabstate');
// Set the component css/js
$document = JFactory::getDocument();
$document->addStyleSheet('components/com_demo/assets/css/site.css');