projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c952198
)
DataObjects/Core_notify_server.php
author
Alan
<alan@roojs.com>
Fri, 6 Oct 2023 03:06:55 +0000
(11:06 +0800)
committer
Alan
<alan@roojs.com>
Fri, 6 Oct 2023 03:06:55 +0000
(11:06 +0800)
DataObjects/Core_notify_server.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify_server.php
b/DataObjects/Core_notify_server.php
index
923a674
..
d06dd5b
100644
(file)
--- a/
DataObjects/Core_notify_server.php
+++ b/
DataObjects/Core_notify_server.php
@@
-134,6
+134,8
@@
class Pman_Core_DataObjects_Core_notify_server extends DB_DataObject
function updateNotifyToNextServer( $cn, $exclude = -1)
{
+ // fixme - this should take into account blacklisted - and
+
$w = DB_DataObject::factory($cn->tableName());
$w->get($cn->id);
@@
-147,6
+149,6
@@
class Pman_Core_DataObjects_Core_notify_server extends DB_DataObject
$w->act_when = $w->sqlValue('NOW() + INTERVAL 1 MINUTE');
$w->update($pp);
-
+ return true;
}
}
\ No newline at end of file