If lowBalance is not set, then do not run the void_prepaid:task function.

This commit is contained in:
abacab 2008-12-29 21:45:00 -05:00
parent 2aef892944
commit d295494489

View File

@ -78,6 +78,8 @@ class voip_prepaid
{
include_once(PATH_MODULES.'email_template/email_template.inc.php');
if ($this->lowBalance)
{
// delete expired pins?
// $delrs = & $db->Execute(sqlDelete($db,"voip_prepaid"," date_expire <> 0 and date_expire is not null and date_expire > ".time()));
@ -98,6 +100,7 @@ class voip_prepaid
}
}
}
}
/** provision pin */