use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$C->{template} = sub {$this->replaceOutput([]);$this->out("Subject: A role you obtained has been rejected\n\n$C->{User}{name},\n\nA role you obtained has just been rejected by admin:\n\nRole: $C->{UserRole}{role_title}\n\nYou can contact admin ($C->{Owner}{name}) by email:\n$C->{Owner}{email}\n");return join("",@{ $this->restoreOutput });};$this->out(&{$C->{template}}."\n");}