Using $this->request instead of $this->getRequest()
Merge branch 'master' of https://github.com/claroline/CoreBundle