Ignore:
Timestamp:
Jan 8, 2014, 4:43:28 PM (11 years ago)
Author:
maron
Message:
  • Added: list of progress task
File:
1 edited

Legend:

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

    r732 r734  
    2121        $System->Database->query('UPDATE `ExportTask` SET `Progress`='.$per.' WHERE `Export`='.$Export->Id);
    2222}
    23 function SetOnline() {
    24   global $System;
    25         $File = new FileStream();
    26         $File->CreateFile(dirname(__FILE__).'/../../'.$System->Config['Web']['TempFolder'].'ProcessTask');
    27         $File->WriteLine(1);
    28 }
     23
    2924
    3025function DeleteOldFiles($deldir)
     
    10297while(1)
    10398{
    104   //setonline
    105   SetOnline();
    10699  // DBC files
    107100  $DbResult = $System->Database->query('SELECT `ExportTask`.`Export`, `Export`.`Id` AS `ExportId` FROM `ExportTask`'.
Note: See TracChangeset for help on using the changeset viewer.