Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix for bug #93 (story version corruption)
Need to clear the session cache data when an asset is checked in via the
desk just as it's done when it's checked in from the profile.

Signed-off-by: David E. Wheeler <david@justatheory.com>
  • Loading branch information
gregheo authored and theory committed Jul 21, 2009
1 parent c029e48 commit 7771128
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Bric/App/Callback/Desk.pm
Expand Up @@ -46,6 +46,9 @@ sub checkin : Callback {
$d->checkin($a_obj);
$d->save;

clear_state("${a_class}_prof");
clear_state('container_prof');

if ($a_class eq 'template') {
my $sb = Bric::Util::Burner->new({user_id => get_user_id()});
$sb->undeploy($a_obj);
Expand Down

0 comments on commit 7771128

Please sign in to comment.