madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22199: LJSUP-12424: Remove wishlist also from h...

Committer: sbelyaev
LJSUP-12424: Remove wishlist also from http://www.livejournal.com/community/moderate.bml?authas=
U   trunk/cgi-bin/communitylib.pl
Modified: trunk/cgi-bin/communitylib.pl
===================================================================
--- trunk/cgi-bin/communitylib.pl	2012-06-07 12:41:43 UTC (rev 22198)
+++ trunk/cgi-bin/communitylib.pl	2012-06-07 12:49:22 UTC (rev 22199)
@@ -942,7 +942,7 @@
             "<a href='$LJ::SITEROOT/community/members.bml?authas=$username'>" . LJ::Lang::ml('/community/manage.bml.commlist.actmembers2') . "</a>",
     );
 
-    if (LJ::SUP->is_sup_enabled($comm)) {
+    if (LJ::SUP->is_sup_enabled($comm) && LJ::is_enabled('wishlist_v2')) {
         push @links, $page eq "wishlist" ?
             "<strong>" . LJ::Lang::ml('/community/manage.bml.commlist.wishlist') . "</strong>" :
             "<a href='".$comm->wishlist_url."'>" . LJ::Lang::ml('/community/manage.bml.commlist.wishlist') . "</a>";

Tags: livejournal, madeon, pl, sbelyaev
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