aboutsummaryrefslogtreecommitdiff
path: root/perl/lib/Wallet/Object/Base.pm
diff options
context:
space:
mode:
authorJon Robertson <jonrober@stanford.edu>2014-10-14 17:06:43 -0700
committerJon Robertson <jonrober@stanford.edu>2014-10-14 17:06:43 -0700
commit1381f2e0d0bb2edfa4b52c9926c57b22379ee248 (patch)
tree909abb2a5fa9dd8f91e690d1eb9393cb5451835f /perl/lib/Wallet/Object/Base.pm
parentb658b799cb10b48d1a5aca19a7e63fe91d2af77a (diff)
Added rename support for file objects
File objects now support a rename command, which will rename the object and move the file to the right spot in the file store under its new name. Change-Id: I10ea2b8012586d69f0894905cfba54a738f3e418
Diffstat (limited to 'perl/lib/Wallet/Object/Base.pm')
-rw-r--r--perl/lib/Wallet/Object/Base.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Wallet/Object/Base.pm b/perl/lib/Wallet/Object/Base.pm
index a6a78bf..bdd61fb 100644
--- a/perl/lib/Wallet/Object/Base.pm
+++ b/perl/lib/Wallet/Object/Base.pm
@@ -187,7 +187,7 @@ sub log_set {
}
my %fields = map { $_ => 1 }
qw(owner acl_get acl_store acl_show acl_destroy acl_flags expires
- comment flags type_data);
+ comment flags type_data name);
unless ($fields{$field}) {
die "invalid history field $field";
}