original_string: protected function sendEmailNotification($subject, $message)
      {
          $superUsers = UsersManagerApi::getInstance()->getUsersHavingSuperUserAccess();
  
          foreach ($superUsers as $superUser) {
              $mail = new Mail();
              $mail->setDefaultFromPiwik();
              $mail->addTo($superUser['email']);
              $mail->setSubject($subject);
              $mail->setWrappedHtmlBody($message);
              $mail->send();
          }
      }
code: protected function sendEmailNotification($subject, $message)
      {
          $superUsers = UsersManagerApi::getInstance()->getUsersHavingSuperUserAccess();
  
          foreach ($superUsers as $superUser) {
              $mail = new Mail();
              $mail->setDefaultFromPiwik();
              $mail->addTo($superUser['email']);
              $mail->setSubject($subject);
              $mail->setWrappedHtmlBody($message);
              $mail->send();
          }
      }
code_tokens: protected function sendEmailNotification ( $ subject , $ message ) { $ superUsers = UsersManagerApi :: getInstance ( ) -> getUsersHavingSuperUserAccess ( ) ; foreach ( $ superUsers as $ superUser ) { $ mail = new Mail ( ) ; $ mail -> setDefaultFromPiwik ( ) ; $ mail -> addTo ( $ superUser [ 'email' ] ) ; $ mail -> setSubject ( $ subject ) ; $ mail -> setWrappedHtmlBody ( $ message ) ; $ mail -> send ( ) ; } }
docstring: Send an email notification to all super users.
  
  @param $subject
  @param $message
docstring_tokens: Send an email notification to all super users .