controllers updated.

updated as per new joomla version.
It's look like that original code was commented. and I think it's not needed. Please review in this PR.