Refactor random::TYPE_* Constants

This commit is contained in:
Romain Neutron
2012-03-09 15:12:23 +01:00
parent 8761e04eda
commit d79c13f8c2
9 changed files with 17 additions and 15 deletions

View File

@@ -58,7 +58,7 @@ $list['email'] = $parm["destmail"];
$endate_obj = new DateTime('+1 day');
$endDate = $endate_obj;
$token = random::getUrlToken('email', false, $endDate, serialize($list));
$token = random::getUrlToken(\random::TYPE_EMAIL, false, $endDate, serialize($list));
$emails = explode(',', $parm["destmail"]);