        //just to make sure
        if ($aPolicy['startdate'] == '') {
            $nDeleteCount++;
            $nPolicyId = $aPolicy['policyid'];
            $del = $oResourcePolicy->deleteResourcePolicyDb($nPolicyId);
            
            if ($del == 'n') {
               $sMessage = 'could not delete resource policy ' . $nPolicyId;
               wlog($sMessage, 'INF');
               $mail = sendMail($sMessage);
            }
        }
    }
}