From 8837185bce3b6e82490ba0d8411357c81104df30 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 18 Dec 2009 14:58:10 -0800 Subject: [PATCH] Set aside Asset.pm's update, so we can fallback to using the one in Definition::Role::Object --- lib/WebGUI/Asset.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index 55b9e6b01..2c95ef05b 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -212,7 +212,7 @@ property status => ( property lastModified => ( noFormPost => 1, fieldType => 'DateTime', - defaultValue => sub { return time() }, + defaultValue => sub { return time() }, ); property assetSize => ( noFormPost => 1, @@ -2232,7 +2232,7 @@ to set the keywords for this asset. =cut -sub update { +sub willWriteDataToDbSomeday { my $self = shift; my $requestedProperties = shift; my $properties = clone($requestedProperties);