diff --git a/root/sbin/e-smith/expire-accounts b/root/sbin/e-smith/expire-accounts index a807915..e4fac6f 100644 --- a/root/sbin/e-smith/expire-accounts +++ b/root/sbin/e-smith/expire-accounts @@ -78,8 +78,8 @@ foreach my $u (@lock){ $rec->set_prop('ForwardAddress', $fwd); $rec->set_prop('EmailForward', 'forward'); } - $rec->del_prop('ExpireLockOn'); - $rec->del_prop('ExpireLastNotifiedOn'); + $rec->delete_prop('ExpireLockOn'); + $rec->delete_prop('ExpireLastNotifiedOn'); $rec->set_prop('ExpireLockedOn', $now->ymd); }