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:
165d4a7
)
fix loop forever
author
Alan
<alan@roojs.com>
Fri, 13 Oct 2023 06:34:39 +0000
(14:34 +0800)
committer
Alan
<alan@roojs.com>
Fri, 13 Oct 2023 06:34:39 +0000
(14:34 +0800)
DataObjects/Core_notify_server.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify_server.php
b/DataObjects/Core_notify_server.php
index
e14ce32
..
52b61a4
100644
(file)
--- a/
DataObjects/Core_notify_server.php
+++ b/
DataObjects/Core_notify_server.php
@@
-283,6
+283,7
@@
class Pman_Core_DataObjects_Core_notify_server extends DB_DataObject
$good = $s;
break;
}
+ $offset = ($start + 1) % count($servers);
}
if ($good == false && $allow_same) {
$good = $this;
@@
-306,8
+307,7
@@
class Pman_Core_DataObjects_Core_notify_server extends DB_DataObject
{
// return current server id..
static $cache = array();
- var_dump($email);
- // get the domain..
+ // get the domain..
$ea = explode('@',$email);
$dom = strtolower(array_pop($ea));
if (isset($cache[$dom])) {