Backed out unrelated block from last commit

This commit is contained in:
martinlanghoff 2005-04-01 06:01:23 +00:00
parent a9a9bdba55
commit 455c36654f

View File

@ -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;