From: Alan Date: Wed, 9 Aug 2023 09:49:33 +0000 (+0800) Subject: add evtype X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=9abdbed035de336d6ed263a9b070835b86478bea add evtype --- diff --git a/Notify.php b/Notify.php index eacdb56a..d1920fc9 100644 --- a/Notify.php +++ b/Notify.php @@ -192,6 +192,11 @@ class Pman_Core_Notify extends Pman } $w->server_id = array_search(gethostname(),array_keys($ff->Core_Notify['servers'])); } + if (!empty($this->evtype)) { + $w->evtype = $this->evtype; + } + + if (!empty($opts['old'])) { // show old and new... @@ -217,9 +222,6 @@ class Pman_Core_Notify extends Pman $w->limit($opts['limit']); // we can run 1000 ... } - if (!empty($this->evtype)) { - $w->evtype = $this->evtype; - }