Changeset 741 for trunk/Modules/Export
- Timestamp:
- Jan 9, 2014, 11:41:19 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/cmdmpqexport.php
r718 r741 99 99 $System->Database->query('INSERT INTO ExportTask (`Export` ,`TimeStart` ) VALUES ('.$Export->Id.', NOW())'); 100 100 } 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); 102 102 103 103 $System->ModuleManager->Modules['Log']->WriteLog('Zadání úlohy pro vygenerování dbc souboru', LOG_TYPE_DOWNLOAD); 104 104 $Output .= 'Export '.$Export->Id.' set to generation <br />'; 105 105 106 if (file_exists($Export->TempDir.'progress')) unlink($Export->TempDir.'progress');107 106 108 107 } else $Output .= 'Export '.$Export->Id.' do not need generation <br />';
Note:
See TracChangeset
for help on using the changeset viewer.