Permalink
Browse files

Backed out unrelated block from last commit

  • Loading branch information...
martinlanghoff
martinlanghoff committed Apr 1, 2005
1 parent a9a9bdb commit 455c36654fdaa53a4425fc550014a2365c0951de
Showing with 0 additions and 7 deletions.
  1. +0 −7 lib/datalib.php
View
@@ -771,13 +771,6 @@ function get_records_sql($sql) {
foreach ($records as $key => $record) {
$objects[$key] = (object) $record;
}
- // log performance info
- if ($rs->RecordCount() > 100
- && !empty($CFG->perfdebug)
- && function_exists('memory_get_usage')) {
- error_log("get_records_sql() in $_SERVER[REQUEST_URI]. Fetched $rs->RecordCount() records. Memory allocated: "
- . memory_get_usage());
- }
return $objects;
} else {
return false;

0 comments on commit 455c366

Please sign in to comment.