Added comments and removed var in phpbbintegrator