Skip to content

Commit

Permalink
Если код не используется, то комментировать целиком неиспользуемый код.
Browse files Browse the repository at this point in the history
  • Loading branch information
palacex committed Jun 12, 2019
1 parent 59b286f commit 67c10d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/perfmonitor.class.php
Expand Up @@ -84,6 +84,7 @@ function EndMeasure($mpoint)
$perf_data[$mpoint]['NUM']++;

//$save_to_db=1;
/*
if ($save_to_db) {
global $db;
if ($db->dbh) {
Expand All @@ -100,7 +101,7 @@ function EndMeasure($mpoint)
SQLInsert('performance_log', $rec);
}
}

*/
}

/**
Expand Down

0 comments on commit 67c10d6

Please sign in to comment.