work on #1582

Deleting a forum doesn't delete the forumpermissions
  * Upgrade script removes forumpermissions for deleted forums

Changed files
  * install/resources/upgrade32.php
    * added
    * added delete query