Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r9102: LJSV-1038 (Userpic Slots Still Unavailab...

Committer: ailyin
LJSV-1038 (Userpic Slots Still Unavailable After Renewing Add-On)
U   trunk/cgi-bin/LJ/Pay/Payment/PayItem/Addon/Packed.pm
Modified: trunk/cgi-bin/LJ/Pay/Payment/PayItem/Addon/Packed.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/Payment/PayItem/Addon/Packed.pm	2010-06-21 08:33:16 UTC (rev 9101)
+++ trunk/cgi-bin/LJ/Pay/Payment/PayItem/Addon/Packed.pm	2010-06-21 09:45:38 UTC (rev 9102)
@@ -268,6 +268,7 @@
     $self->add_paidexp_time (exp => $exp, u => $u, new_size => $new_size, 'time' => $exp_date);
 
     LJ::clear_upicquota_cache($u->{'userid'}+0);
+    $u->activate_userpics;
 
     return 1;
 }
@@ -297,6 +298,7 @@
     }
 
     LJ::clear_upicquota_cache($u->{'userid'}+0);
+    $u->activate_userpics;
 
     return 1;
 }
@@ -327,6 +329,8 @@
 
     ## hack: this should be in Userpics::* classes actually 
     LJ::clear_upicquota_cache($userid);
+    $u->activate_userpics;
+
     return 1;
 }
 

Tags: andy, ljcom, pm
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments