Add in Mass Delete Feature

This function is using Joomla 2.5 coding standards, however it doesn't seem to work. I have also added a comment out equivalent version of the function using Joomla 1.5 coding standards which does work.