Fix the forgetMiddleware call (to not use get_class)
Another newline
Merge pull request #5855 from manavo/fix-forget-middleware

Fix the forgetMiddleware call (to not use get_class)