Move the contents of the webformblock db table into real blocks.
Remove the un-required db table.
Change query JOINs in the code.