original_string: public function flushEmailErrors() {
      foreach($this->observers as $observer) {
        if(get_class($observer)=='Web2All_ErrorObserver_Email'){
          $observer->flushErrors();
        }
      }
      foreach($this->observer_names as $classname) {
        if($classname=='Web2All_ErrorObserver_Email'){
          $this->Web2All->PluginGlobal->$classname->flushErrors();
        }
      }
    }
code: public function flushEmailErrors() {
      foreach($this->observers as $observer) {
        if(get_class($observer)=='Web2All_ErrorObserver_Email'){
          $observer->flushErrors();
        }
      }
      foreach($this->observer_names as $classname) {
        if($classname=='Web2All_ErrorObserver_Email'){
          $this->Web2All->PluginGlobal->$classname->flushErrors();
        }
      }
    }
code_tokens: public function flushEmailErrors ( ) { foreach ( $ this -> observers as $ observer ) { if ( get_class ( $ observer ) == 'Web2All_ErrorObserver_Email' ) { $ observer -> flushErrors ( ) ; } } foreach ( $ this -> observer_names as $ classname ) { if ( $ classname == 'Web2All_ErrorObserver_Email' ) { $ this -> Web2All -> PluginGlobal -> $ classname -> flushErrors ( ) ; } } }
docstring: flush e-mail errors if any
  
  If there are any errors queued for emailing they will be e-mailed and the
  errorstate will be reset. This is useful for long running processes like daemons.
docstring_tokens: flush e - mail errors if any