And I think you're trying to modify the code too much here. This line is not needed here because of public $task = 'mail|settings';   Please, be less intrusive, we don't want regressions.