Inject settings repository in event listener
Inject settings repository in event listener

`$this->app` was not defined here anyway.

Refs #1032.

malayladu/core,flarum/core,malayladu/core,Luceos/core,Luceos/core,datitisev/core,Luceos/core,datitisev/core,datitisev/core,flarum/core,datitisev/core,malayladu/core,malayladu/core,Luceos/core,flarum/core