X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=NotifySend.php;fp=NotifySend.php;h=bcc644e113354bbef3e7566cf30f5065a6996cae;hb=dd15b255adb9cc35b00d83b29d3b2ee0df69eeaa;hp=e7fa445b1af7b13c6999195787b744af860b792e;hpb=1b4b4b94edb973e595579c11b131fbcd338c4d75;p=Pman.Core diff --git a/NotifySend.php b/NotifySend.php index e7fa445b..bcc644e1 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -110,7 +110,9 @@ class Pman_Core_NotifySend extends Pman } $this->server = DB_DataObject::Factory('core_notify_server')->getCurrent($this); - + if (!$force && $w->server_id != $this->server_id) { + $this->errorHandler("Server id does not match - use force to try again\n"); + } if (!empty($opts['debug'])) { print_r($w);