Example #1
0
 /**
  *  Set up the stats used by the stats and summary table functions
  */
 function statSetup()
 {
     $this->kill_summary = new KillSummaryTable();
     $this->kill_summary->setSystem($this->sys_id);
     if (config::get('kill_classified')) {
         $this->kill_summary->setEndDate(gmdate('Y-m-d H:i', strtotime('now - ' . config::get('kill_classified') . ' hours')));
     }
     involved::load($this->kill_summary, 'kill');
     $this->kill_summary->generate();
     return "";
 }