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

[livejournal] r17888: LJINT-362 (Comments for side projects): ...

Committer: ailyin
LJINT-362 (Comments for side projects): disable flag + cleanup
U   trunk/htdocs/gadgets/logcom.bml
Modified: trunk/htdocs/gadgets/logcom.bml
===================================================================
--- trunk/htdocs/gadgets/logcom.bml	2010-12-09 09:09:05 UTC (rev 17887)
+++ trunk/htdocs/gadgets/logcom.bml	2010-12-09 10:14:42 UTC (rev 17888)
@@ -5,6 +5,9 @@
     use LJ::Widget::LoginMulti;
     use LJ::ExternalComments;
 
+    return 'This feature is disabled'
+        unless LJ::is_enabled('external_comments');
+
     LJ::need_res(qw( js/partners/placeholder.js
                      js/jquery.js
                      stc/lj_base.css

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