projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8308a8a
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 17 Jun 2013 23:21:15 +0000
(07:21 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 17 Jun 2013 23:21:15 +0000
(07:21 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
6604213
..
5a8427e
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-248,8
+248,7
@@
class Pman_Core_Notify extends Pman
$this->poolfree();
sleep(3);
}
-
-
+
foreach($requeue as $p) {
$pp = clone($p);
$p->act_when = strtotime($p->act_when . ' + 1 MINUTE');
@@
-400,14
+399,15
@@
class Pman_Core_Notify extends Pman
*/
function poolHasDomain($email)
{
+ $ret = 0;
$dom = strtolower(array_pop(explode('@',$email)));
foreach($this->pool as $p) {
$mdom = strtolower(array_pop(explode('@',$p['email'])));
if ($mdom == $dom) {
-
return true
;
+
$ret++
;
}
}
- return
false
;
+ return
$ret
;
}