holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r22492: LJSUP-13036: Create subroutine for get s...

Committer: akanashin
LJSUP-13036: Create subroutine for get social capital by user
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-07-24 14:54:42 UTC (rev 22491)
+++ trunk/cgi-bin/LJ/User.pm	2012-07-25 07:31:59 UTC (rev 22492)
@@ -2889,6 +2889,8 @@
             LJ::MemCache::set( $u->user."_soc_cap", $value, 60*60);
             return $value;
         }
+    } else {
+        return $soc_capital;
     }
 
     return 0;

Tags: akanashin, holyandrew, livejournal, 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