Ignore:
Timestamp:
May 11, 2022, 12:14:42 PM (2 years ago)
Author:
chronos
Message:
  • Modified: Removed commended out print_r and echo commands used only for debugging.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfig/Generate.php

    r887 r929  
    1515    $System->Database->update('NetworkConfiguration', '`Id`='.$Service['Id'], array('Changed' => 2));
    1616    $ExecutionStart = time();
    17     //echo($Service['Caption'].'...');
    1817
    1918    $ExecuteParts = explode('|', $Service['Execute']);
    2019    $Output = array();
    2120    foreach ($ExecuteParts as $Command)
     21    {
    2222      if ($Command != '')
    2323      {
    2424        exec($Command, $Output);
    25         //echo($Command."\n");
    26         //sleep(5);
    2725      }
    28     //echo("Done\n");
     26    }
    2927    $ExecutionTime = time() - $ExecutionStart;
    3028    $System->Database->update('NetworkConfiguration', '`Id`='.$Service['Id'], array('Changed' => 0, 'LastTime' => 'NOW()', 'ExecutionTime' => $ExecutionTime));
Note: See TracChangeset for help on using the changeset viewer.