Changeset 817 for trunk/Modules/NetworkConfig/Generate.php
- Timestamp:
- Mar 16, 2016, 8:51:59 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfig/Generate.php
r790 r817 13 13 if($Service['UNIX_TIMESTAMP(LastTime)'] < (time() - $Service['Period'])) 14 14 { 15 $System->Database->update('NetworkConfiguration', ' Id='.$Service['Id'], array('Changed' => 2));15 $System->Database->update('NetworkConfiguration', '`Id`='.$Service['Id'], array('Changed' => 2)); 16 16 $ExecutionStart = time(); 17 17 //echo($Service['Caption'].'...'); … … 27 27 //echo("Done\n"); 28 28 $ExecutionTime = time() - $ExecutionStart; 29 $System->Database->update('NetworkConfiguration', ' Id='.$Service['Id'], array('Changed' => 0, 'LastTime' => 'NOW()', 'ExecutionTime' => $ExecutionTime));30 $System->Database->update('NetworkConfiguration', ' Id='.$Service['Id'], array('Log' => implode("\n", $Output)));29 $System->Database->update('NetworkConfiguration', '`Id`='.$Service['Id'], array('Changed' => 0, 'LastTime' => 'NOW()', 'ExecutionTime' => $ExecutionTime)); 30 $System->Database->update('NetworkConfiguration', '`Id`='.$Service['Id'], array('Log' => implode("\n", $Output))); 31 31 } 32 32 }
Note:
See TracChangeset
for help on using the changeset viewer.