Skip to content

Commit

Permalink
It makes sense to be consistent and to cache the
Browse files Browse the repository at this point in the history
object as soon as we got the data from the database.
  • Loading branch information
yannk committed Jul 31, 2009
1 parent e08db62 commit 990a78f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Data/ObjectDriver/BaseObject.pm
Expand Up @@ -537,6 +537,7 @@ sub refresh {
my $fields = $obj->fetch_data;
$obj->set_values_internal($fields);
$obj->call_trigger('post_load');
$obj->driver->cache_object($obj);
return 1;
}

Expand Down

0 comments on commit 990a78f

Please sign in to comment.