From 65bed6e62b7f65032c087d4d6ffff12c013000a7 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 26 Jan 2016 12:49:29 +0100 Subject: [PATCH] del_prop should be delete_prop on Record objects --- root/sbin/e-smith/expire-accounts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }