Remove redundant $template var from block renderAPI() method

It's no longer needed since the frontend rewrite

Change-Id: Ia0a1071fc8ac9e3fa651a4645bd8a58101b1de83
Merge "Remove redundant $template var from block renderAPI() method"