Changeset 694 for trunk/Modules/Export


Ignore:
Timestamp:
Jan 2, 2014, 8:36:58 PM (11 years ago)
Author:
maron
Message:
  • Added: deleting progress file
  • Added: addon files/5.4.0
Location:
trunk/Modules/Export
Files:
8 added
2 edited

Legend:

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

    r670 r694  
    6565        echo 'Caught exception: ',  $e->getMessage(), "\n";
    6666      }
    67       SetProgres($Export,100);
     67      if (file_exists($Export->TempDir.'progress')) unlink($Export->TempDir.'progress');
    6868    } else
    6969    {
  • trunk/Modules/Export/cmdmpqexport.php

    r693 r694  
    102102    $System->ModuleManager->Modules['Log']->WriteLog('Zadání úlohy pro vygenerování dbc souboru', LOG_TYPE_DOWNLOAD);
    103103    $Output .= 'Export '.$Export->Id.' set to generation <br />';
     104
     105    if (file_exists($Export->TempDir.'progress')) unlink($Export->TempDir.'progress');
     106
    104107  } else     $Output .= 'Export '.$Export->Id.' do not need generation <br />';
    105108  $Output = str_replace('<br/>','
Note: See TracChangeset for help on using the changeset viewer.