Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r22934: LJSUP-13703: Switcher from old version u...

Committer: anazarov
LJSUP-13703: Switcher from old version update.bml to new version for non logged users
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-09-20 06:51:53 UTC (rev 22933)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-09-20 06:55:46 UTC (rev 22934)
@@ -451,7 +451,7 @@
     $out .= "<script>try { \$('journal_timezone').value = - (new Date).getTimezoneOffset()/0.6; } catch(e) {} </script>";
     $out .= "<div id='metainfo-wrap'>";
 
-    if ( LJ::is_enabled('post_controller') and $remote or LJ::is_enabled('post_private_beta') ) {
+    if ( LJ::is_enabled('post_controller') ) {
         $out .= "<p class=\"b-updatepage-switchver\">";
         $out .= "<button type=\"submit\" name=\"ljpost:on\" value=\"1\" class=\"b-updatepage-switchver-button\">";
         $out .= "<span class=\"b-updatepage-switchver-inner\">". LJ::Lang::ml('talk.post.beta.turn.on') ."</span>";

Tags: anazarov, livejournal, nfokz, 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