Committer: sbelyaev
LJSUP-12627: Not working counter of Writer's BlockU trunk/cgi-bin/LJ/Entry.pm
Modified: trunk/cgi-bin/LJ/Entry.pm =================================================================== --- trunk/cgi-bin/LJ/Entry.pm 2012-06-21 14:40:23 UTC (rev 22301) +++ trunk/cgi-bin/LJ/Entry.pm 2012-06-21 14:55:10 UTC (rev 22302) @@ -2383,8 +2383,9 @@ "AND propid IN ($del_ids)", undef, $u->{'userid'}, $jitemid) if $del_ids; if ($kill_mem) { - LJ::MemCache::delete([$uid,"logprop2:$uid:$jitemid"]) if $kill_mem; - $singletons{$uid}->{$jitemid} = undef if $singletons{$uid}; + LJ::MemCache::delete([$uid,"logprop2:$uid:$jitemid"]); + my $cached_entry = $singletons{$uid}->{$jitemid}; + $cached_entry->{_loaded_props} = 0 if $cached_entry; } }