Show
Ignore:
Timestamp:
12/15/06 06:33:49 (14 years ago)
Author:
exi
Message:

Added option to enable readdition of dupes which can be handy to fix issues with that mail.
The old item_values mod will be forced to deactivate on the modspage.
Removed the call-by-reference functioncalls in admin_sync.php.
Added autoupgrade code to add some missing itemtypes.
Added code to killlist to set some more variables to the killclass.
Small fix to feed.php for older gzip compatibility.
The IGB techdemo has been added.
Module loss on kill_detail is now 0 for pods instead of null.
Added http-meta equiv refresh to the killmail importer.
Greatly improved related kills page, it now has a Battle Summary.
Changed portrait code to grab the 256x256px version from img.eve.is as 128px is deprecated.

Files:
1 modified

Legend:

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

    r133 r154  
    270270                        from kb3_kills 
    271271                        where kll_timestamp <= 
    272                         date_add( '".$this->timestamp_."', INTERVAL '3:0' MINUTE_SECOND ) 
     272                        date_add( '".$this->timestamp_."', INTERVAL '5:0' MINUTE_SECOND ) 
    273273                        and kll_timestamp >= 
    274                         date_sub( '".$this->timestamp_."', INTERVAL '3:0' MINUTE_SECOND ) 
     274                        date_sub( '".$this->timestamp_."', INTERVAL '5:0' MINUTE_SECOND ) 
    275275                        and kll_victim_id = ".$this->victimid_." 
    276276                        and kll_ship_id = ".$this->victimship_->getID()." 
     
    299299                                      kll.kll_crp_id, kll.kll_points, 
    300300                                      fbplt.plt_id as fbplt_id, 
     301                                      fbplt.plt_externalid as fbplt_externalid, 
    301302                                      fbcrp.crp_id as fbcrp_id, 
    302303                                      fbali.all_id as fbali_id, 
     
    333334            $this->setFBAllianceName($row['fbali_name']); 
    334335            $this->setKillPoints($row['kll_points']); 
     336            $this->plt_ext_ = $row['plt_externalid']; 
     337            $this->fbplt_ext_ = $row['fbplt_externalid']; 
    335338 
    336339            if (!$row) 
     
    571574    function add($id = null) 
    572575    { 
     576        global $config; 
    573577        if (!$this->solarsystem_->getID()) 
    574578        { 
     
    584588            $this->realadd(); 
    585589        } 
    586         else 
     590        elseif ($config->getConfig('readd_dupes')) 
    587591        { 
    588592            $this->dupeid_ = $dupe; 
     
    590594            $this->remove(false); 
    591595            $this->realadd($dupe); 
     596            $this->id_ = -1; 
     597        } 
     598        else 
     599        { 
     600            $this->dupeid_ = $dupe; 
    592601            $this->id_ = -1; 
    593602        }