public function check() { $checkFailed = parent::check(); if ($checkFailed != '') { return $checkFailed; } if ($this->subscriber_found && $this->subscriber_active) { // ups, schon in der liste drin $checkFailed = $this->getCheckFailed(); } return $checkFailed; }
public function check() { $checkFailed = parent::check(); if ($checkFailed != '') { return $checkFailed; } if (!$this->subscriber_found || !$this->subscriber_active) { // nicht im System oder inaktiv $checkFailed = $this->getCheckFailed(); } return $checkFailed; }