Changeset 741 for trunk/Modules/Export


Ignore:
Timestamp:
Jan 9, 2014, 11:41:19 AM (11 years ago)
Author:
maron
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/cmdmpqexport.php

    r718 r741  
    9999      $System->Database->query('INSERT INTO ExportTask (`Export` ,`TimeStart` ) VALUES ('.$Export->Id.', NOW())');
    100100    } else 
    101       $System->Database->query('UPDATE ExportTask SET TimeStart = NOW(), TimeFinish = NULL WHERE Export = '.$Export->Id);
     101      $System->Database->query('UPDATE ExportTask SET `TimeStart` = NOW(), `Progress` = 0, `TimeFinish` = NULL WHERE Export = '.$Export->Id);
    102102
    103103    $System->ModuleManager->Modules['Log']->WriteLog('Zadání úlohy pro vygenerování dbc souboru', LOG_TYPE_DOWNLOAD);
    104104    $Output .= 'Export '.$Export->Id.' set to generation <br />';
    105105
    106     if (file_exists($Export->TempDir.'progress')) unlink($Export->TempDir.'progress');
    107106
    108107  } else     $Output .= 'Export '.$Export->Id.' do not need generation <br />';
Note: See TracChangeset for help on using the changeset viewer.