del_prop should be delete_prop on Record objects

tags/smeserver-expire-accounts-0.1.7-1
Daniel Berteaud 9 years ago
parent dd47ebac13
commit 65bed6e62b
  1. 4
      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);
}

Loading…
Cancel
Save