changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r23308: LJSV-2471: Users do not return to rating...

Committer: tnurutdinov
LJSV-2471: Users do not return to ratings after unsuspension
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-11-14 15:43:54 UTC (rev 23307)
+++ trunk/cgi-bin/LJ/User.pm	2012-11-15 07:30:52 UTC (rev 23308)
@@ -4453,7 +4453,7 @@
     my $ret = LJ::update_user($u, { statusvis => $statusvis,
                                  raw => 'statusvisdate=NOW()' });
 
-    LJ::run_hook("props_changed", $u, {statusvis => $statusvis});
+    LJ::run_hooks("props_changed", $u, {statusvis => $statusvis});
 
     $u->fb_push;
 
@@ -8932,7 +8932,7 @@
     $u->{caps} = $newcaps;
     $argu->{caps} = $newcaps if ref $argu; # temp hack
 
-    LJ::run_hook("props_changed", $u, {caps => $newcaps});
+    LJ::run_hooks("props_changed", $u, {caps => $newcaps});
     
     return $u;
 }

Tags: livejournal, pm, tnurutdinov
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