Merged in Phergie change (Allow sec/usec = 0)

This commit is contained in:
Luke Fitzgerald 2010-07-24 11:26:20 -07:00
parent 007d9ec8ce
commit c0214ac0a4

View File

@ -87,7 +87,7 @@ class Phergie_Process_Async extends Phergie_Process_Abstract
}
}
if (empty($this->sec) && empty($this->usec)) {
if (isset($this->sec) && isset($this->usec)) {
throw new Phergie_Process_Exception(
'One of the processor options "sec" or "usec" must be specified'
);