Comment out the JEventDispatcher

This commit is contained in:
Oh 2021-10-16 09:57:33 +02:00
parent 3c4645f097
commit d58d2f9ff8
Signed by untrusted user: Oh
GPG Key ID: F91C6D0A21225F8A

View File

@ -141,8 +141,8 @@ class DemoModelLooking extends JModelItem
return false;
}
// Load the JEvent Dispatcher
JPluginHelper::importPlugin('content');
$this->_dispatcher = JEventDispatcher::getInstance();
// JPluginHelper::importPlugin('content');
// $this->_dispatcher = JEventDispatcher::getInstance();
// Check if item has params, or pass whole item.
$params = (isset($data->params) && DemoHelper::checkJson($data->params)) ? json_decode($data->params) : $data;
// Make sure the content prepare plugins fire on description