Changeset 890 for trunk


Ignore:
Timestamp:
Dec 27, 2022, 8:10:29 PM (2 years ago)
Author:
chronos
Message:
  • Fixed: DBCExport task.
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UpdateTrace.php

    r888 r890  
    29702970{
    29712971  $Manager->Execute('ALTER TABLE `Referrer` CHANGE `LastIP` `LastIP` VARCHAR(46) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL;');
     2972  $Manager->Execute('ALTER TABLE `ExportTask` CHANGE `Progress` `Progress` DOUBLE(5,2) NOT NULL;');
    29722973}
    29732974
  • trunk/Modules/Export/ProcessTask.php

    r889 r890  
    109109    // Delete old files
    110110    $this->DeleteOldFiles($Export->TempDir.'dbc');
    111     if (file_exists($Export->TempDir.'CzWoW_DBC.zip')) unlink($Export->TempDir.'CzWoW_DBC.zip');
     111    if (file_exists($Export->TempDir.'CzWoW_DBC.zip'))
     112    {
     113      unlink($Export->TempDir.'CzWoW_DBC.zip');
     114    }
    112115
    113116    $this->SetProgress(20);
Note: See TracChangeset for help on using the changeset viewer.