Restore the original code, from joomla/joomla-cms

To be able to merge a pull request