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

[livejournal] r23159: LJSUP-13953 (friends feed beta switcher)

Committer: ailyin
LJSUP-13953 (friends feed beta switcher)
U   trunk/cgi-bin/LJ/ControlStrip.pm
Modified: trunk/cgi-bin/LJ/ControlStrip.pm
===================================================================
--- trunk/cgi-bin/LJ/ControlStrip.pm	2012-10-17 06:54:20 UTC (rev 23158)
+++ trunk/cgi-bin/LJ/ControlStrip.pm	2012-10-17 06:56:58 UTC (rev 23159)
@@ -314,8 +314,10 @@
                                            ? LJ::Widget::SiteMessages->render
                                            : '';
 
-    $data_control_strip->{switch_friendsfeed} =
-        LJ::Widget::FriendsFeedBeta->render;
+    if ( $data_journal->{'view_friends'} ) {
+        $data_control_strip->{'switch_friendsfeed'} =
+            LJ::Widget::FriendsFeedBeta->render;
+    }
 
     if (LJ::is_enabled('journalpromo')) {
         $data_control_strip->{promo_strip} = LJ::Widget::JournalPromoStrip->should_render(remote => $remote, journal => $journal)

Tags: ailyin, andy, 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