projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1b4b4b9
)
check server id
author
Alan
<alan@roojs.com>
Wed, 11 Oct 2023 03:33:53 +0000
(11:33 +0800)
committer
Alan
<alan@roojs.com>
Wed, 11 Oct 2023 03:33:53 +0000
(11:33 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
e7fa445
..
bcc644e
100644
(file)
--- 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);