src/Web2All/Manager/Main.class.php
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();
      }
    }
  }
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();
      }
    }
  }
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 ( ) ; } } }
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.
flush e - mail errors if any