public function mailAdminsNewAdmin(AnCommandContext $context)
    {
        $person = $context->result;

        $this->mailAdmins(array(
            'subject' => AnTranslator::sprintf('COM-PEOPLE-MAIL-SUBJECT-NEW-ADMIN', $person->name),
            'template' => 'new_admin',
        ));
    }
public function mailAdminsNewAdmin(AnCommandContext $context)
    {
        $person = $context->result;

        $this->mailAdmins(array(
            'subject' => AnTranslator::sprintf('COM-PEOPLE-MAIL-SUBJECT-NEW-ADMIN', $person->name),
            'template' => 'new_admin',
        ));
    }
public function mailAdminsNewAdmin ( AnCommandContext $ context ) { $ person = $ context -> result ; $ this -> mailAdmins ( array ( 'subject' => AnTranslator :: sprintf ( 'COM-PEOPLE-MAIL-SUBJECT-NEW-ADMIN' , $ person -> name ) , 'template' => 'new_admin' , ) ) ; }
Notify admins that a new admin has joined the network.

@param AnCommandContext $context The context parameter
Notify admins that a new admin has joined the network .