Show
Ignore:
Timestamp:
09/25/07 15:26:51 (15 years ago)
Author:
ralle030583
Message:

Implemented exi's involvedloader class

Files:
1 modified

Legend:

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

    r226 r240  
    448448        $kslist = new KillList(); 
    449449        $kslist->setRelated($this->id_); 
    450         if (CORP_ID) 
    451             $kslist->addInvolvedCorp(new Corporation(CORP_ID)); 
    452         if (ALLIANCE_ID) 
    453             $kslist->addInvolvedAlliance(new Alliance(ALLIANCE_ID)); 
     450        involved::load($kslist,'kill'); 
    454451 
    455452        return $kslist->getCount(); 
     
    460457        $lslist = new KillList(); 
    461458        $lslist->setRelated($this->id_); 
    462         if (CORP_ID) 
    463             $lslist->addVictimCorp(new Corporation(CORP_ID)); 
    464         if (ALLIANCE_ID) 
    465             $lslist->addVictimAlliance(new Alliance(ALLIANCE_ID)); 
     459        involved::load($lslist,'loss'); 
    466460 
    467461        return $lslist->getCount();