getk2 / k2

K2 - the powerful content extension for Joomla
https://getk2.org
GNU General Public License v3.0
136 stars 95 forks source link

The "$itemlistModel" is not used anywhere in the router.php file #526

Closed Yiannistaos closed 4 years ago

Yiannistaos commented 4 years ago

In the file: \components\com_k2\router.php Lines 28-29 require_once(JPATH_SITE.'/components/com_k2/models/itemlist.php'); $itemlistModel = newK2ModelItemlist;

I think that these lines are not required here. Does the variable "$itemlistModel" used anywhere in the router.php file?

fevangelou commented 4 years ago

Removed already - thank you.