Notify.php
authorAlan <alan@roojs.com>
Thu, 5 Oct 2023 09:01:39 +0000 (17:01 +0800)
committerAlan <alan@roojs.com>
Thu, 5 Oct 2023 09:01:39 +0000 (17:01 +0800)
Notify.php

index cb67e4b..87e51a5 100644 (file)
@@ -194,13 +194,7 @@ class Pman_Core_Notify extends Pman
         
         
         $this->server = DB_DataObject::Factory('core_notify_server')->getCurrent($this);
-        if (!empty($ff->Core_Notify['servers']) && empty($ff->Core_Notify['servers-non-pool'][gethostname()])) {
-            
-            if (!isset($ff->Core_Notify['servers'][gethostname()])) {
-                $this->jerr("Core_Notify['servers']['" . gethostname() ."'] is not set");
-            }
-            $w->server_id = array_search(gethostname(),array_keys($ff->Core_Notify['servers']));
-        }
+        
         if (!empty($this->evtype)) {
             $w->evtype = $this->evtype;
         }