Comment out the JEventDispatcher
This commit is contained in:
parent
3c4645f097
commit
d58d2f9ff8
@ -141,8 +141,8 @@ class DemoModelLooking extends JModelItem
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Load the JEvent Dispatcher
|
// Load the JEvent Dispatcher
|
||||||
JPluginHelper::importPlugin('content');
|
// JPluginHelper::importPlugin('content');
|
||||||
$this->_dispatcher = JEventDispatcher::getInstance();
|
// $this->_dispatcher = JEventDispatcher::getInstance();
|
||||||
// Check if item has params, or pass whole item.
|
// Check if item has params, or pass whole item.
|
||||||
$params = (isset($data->params) && DemoHelper::checkJson($data->params)) ? json_decode($data->params) : $data;
|
$params = (isset($data->params) && DemoHelper::checkJson($data->params)) ? json_decode($data->params) : $data;
|
||||||
// Make sure the content prepare plugins fire on description
|
// Make sure the content prepare plugins fire on description
|
||||||
|
Loading…
x
Reference in New Issue
Block a user