Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[livejournal] r19015: LJSUP-8738: Community Directory is showi...

Committer: dnikolaev
LJSUP-8738: Community Directory is showing for sup-users

U   trunk/cgi-bin/LJ/ControlStrip.pm
Modified: trunk/cgi-bin/LJ/ControlStrip.pm
===================================================================
--- trunk/cgi-bin/LJ/ControlStrip.pm	2011-05-04 03:47:45 UTC (rev 19014)
+++ trunk/cgi-bin/LJ/ControlStrip.pm	2011-05-04 04:18:25 UTC (rev 19015)
@@ -85,6 +85,7 @@
         $data_remote->{user}         = $remote->{user};
         $data_remote->{display}      = LJ::ljuser($remote);
         $data_remote->{sessid}       = ($remote->session ? $remote->{_session}->{sessid} : undef);
+        $data_remote->{is_sup}       = (LJ::SUP->is_sup_enabled($remote) ? 1 : 0);
         $data_remote->{is_paid}      = $remote->in_class('paid') || $remote->in_class('sponsored');
         $data_remote->{is_personal}  = ($remote->is_personal() ? 1 : 0); 
         $data_remote->{is_identity}  = ($remote->is_identity() ? 1 : 0);

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