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

[ljcom] r12389: LJSUP-13165 (remove warnings and errors ...

Committer: ailyin
LJSUP-13165 (remove warnings and errors from log)
U   trunk/cgi-bin/LJ/PartnerSite.pm
U   trunk/htdocs/tools/endpoints/comments.bml
Modified: trunk/cgi-bin/LJ/PartnerSite.pm
===================================================================
--- trunk/cgi-bin/LJ/PartnerSite.pm	2012-08-01 11:05:41 UTC (rev 12388)
+++ trunk/cgi-bin/LJ/PartnerSite.pm	2012-08-01 11:50:20 UTC (rev 12389)
@@ -188,13 +188,12 @@
 
 =cut
 
-__PACKAGE__->mk_accessors qw( id name journal_username journalid journal
-                              api_key domain link_pattern 
-                              xdreceiver_path rate_limits encoding
-                              mapping_locked disabled dochash_salt
-                              sync_comments_count_url_pattern
-                              lj_resources identities
-                              widget_version overrides );
+__PACKAGE__->mk_accessors( qw(
+    id name journal_username journalid journal api_key domain link_pattern 
+    xdreceiver_path rate_limits encoding mapping_locked disabled dochash_salt
+    sync_comments_count_url_pattern lj_resources identities
+    widget_version overrides send_hits_to_ratings
+) );
 
 ### CLASS METHODS ###
 

Modified: trunk/htdocs/tools/endpoints/comments.bml
===================================================================
--- trunk/htdocs/tools/endpoints/comments.bml	2012-08-01 11:05:41 UTC (rev 12388)
+++ trunk/htdocs/tools/endpoints/comments.bml	2012-08-01 11:50:20 UTC (rev 12389)
@@ -72,7 +72,7 @@
         unless ! $partner->rate_limits
             || LJ::RateLimit->check( $journal, $partner->rate_limits );
 
-    if ( $partner->can('send_hits_to_ratings') and $partner->send_hits_to_ratings ) {
+    if ( $partner->send_hits_to_ratings ) {
         if ( my $entry = $partner->find_entry_by_docid($docid) ) {
             push @LJ::SUP_LJ_ENTRY_REQ,
                 [ $journal->userid, $journal->userid, $entry->ditemid ];

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