this function from class_posixAccount.inc should be in function.inc
function convertToSeconds($val)
{
if ($val != 0){
$val*= 60 * 60 * 24;
} else {
$date= getdate();
val= floor(
date[0] / (606024)) * 60 * 60 * 24;
}
return($val);
}
(from redmine: issue id 672, created on 2012-03-03, closed on 2012-03-04)
- Changesets:
- Revision effebd6b by Benoit MORTIER on 2012-03-03T13:09:09.000Z:
Fixes: #672 this function from class_posixAccount.inc should be in function.inc
- Revision 72b36de7 by Benoit MORTIER on 2012-03-03T13:15:30.000Z:
Fixes: #672 this function from class_posixAccount.inc should be in function.inc