Commit e7dc265ffd83ea4c93d71baaf0966a928bda291e

Authored by Elena.Budnik
1 parent 1977fa90

stat for upload file

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
php/uploadFile.php
... ... @@ -371,8 +371,9 @@
371 371 if ($isFile)
372 372 {
373 373 $fileMgr = new FilesMgr();
374   - // $amdaStat = new AmdaStats($_POST['sessionID']);
375   - // if ($amdaStat->success) $amdaStat->addTask('upload', $_POST['sessionID'], null);
  374 + $amdaStat = new AmdaStats($_POST['sessionID']);
  375 + if ($amdaStat->success)
  376 + $amdaStat->addTask('upload', $_POST['sessionID'], null);
376 377 }
377 378 // Time Table or Catalog
378 379 else
... ...