Changeset 441

Show
Ignore:
Timestamp:
08/02/09 14:19:17 (11 years ago)
Author:
kovell
Message:

Fix: All-time summaries no longer updated when they don't exist

Location:
dev/common/includes
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/class.summary.php

    r426 r441  
    136136                $qry = new DBQuery(); 
    137137                $qry->execute("SELECT 1 FROM kb3_sum_alliance WHERE asm_all_id = ".$kill->getVictimAllianceID()); 
    138 // Causes big slowdowns for feeds so just return and leave summary creation until the page is viewed. 
    139 //              if(!$qry->recordCount()) allianceSummary::buildSummary($kill->getVictimAllianceID()); 
    140138                if($qry->recordCount()) 
    141139                { 
     
    321319                $qry = new DBQuery(); 
    322320                $qry->execute("SELECT 1 FROM kb3_sum_corp WHERE csm_crp_id = ".$kill->getVictimcorpID()); 
    323                 if(!$qry->recordCount()) 
     321                if($qry->recordCount()) 
    324322                { 
    325323                        // php4 doesn't handle indirect references so specify each one. 
     
    504502                $qry = new DBQuery(); 
    505503                $qry->execute("SELECT 1 FROM kb3_sum_pilot WHERE psm_plt_id = ".$kill->getVictimID()); 
    506 //              if(!$qry->recordCount()) pilotSummary::buildSummary($kill->getVictimpilotID()); 
    507                 if(!$qry->recordCount()) 
     504                if($qry->recordCount()) 
    508505                { 
    509506                        // php4 doesn't handle indirect references so specify each one. 
  • dev/common/includes/globals.php

    r440 r441  
    77else 
    88{ 
    9         $svn_rev = '439'; 
     9        $svn_rev = '441'; 
    1010} 
    1111define('SVN_REV', $svn_rev);